Define Fault Aggregation in Parallel Processing Scenarios

Oracle Integration includes a predefined fault object for fault aggregation. This object enables you to catch and aggregate faults in the context of parallel processing in schedule integrations and to send these faults to an external service to define more granular error handling. To define a fault object and aggregate the faults, you must use actions that support looping (for example, for-each loops, while loops, and so on).

Note:

The fault object is only supported with schedule integrations.
Two fault aggregation operations are available for selection in schedule integrations:
  • append: Adds a new fault to the end of a fault list.

  • clear: Removes all entries in a fault list.

These options are available for selection under the following scenarios:
Location Append Option Allowed? Clear Option Allowed?
Top level (that is, outside of any looping actions) Yes Yes
Inside a for-each action with the Process items in parallel option selected Yes No
Inside a for-each action loop and a while action loop Yes Yes
Inside a stage file action configured with the Read File in Segments operation Yes No
Inside a scope action Yes Yes
Inside a global fault or a named fault (that is, inside a scope fault handler) Yes Yes
  1. Create a schedule integration.

  2. Create an aggregated fault per the scenarios supported in the above table. For example, create a for-each action, then drag an assign action within the loop.

  3. Create an assignment and select faults from the Datatypes list.

    The page is refreshed to display the Operations list with two options.


    The Operation drop-down list is shown with options for Append and Clear.

  4. Build the fault object mapping.

  5. Complete your mapping.

  6. Define an invoke connection to send the aggregated faults to an external service.

    Note:

    Changing the name, data type, or both is only allowed during initial creation of the variable while not yet assigned a value.