Wednesday, October 30, 2024

OIC - Use of Fault datatype variable | Define Fault Aggregation in Parallel Processing Scenarios

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).
  • append: Adds a new fault to the end of a fault list.
  • clear: Removes all entries in a fault list.
Two fault aggregation operations are available for selection in schedule integrations:
These options are available for selection under the following scenarios:
LocationAppend Option Allowed?Clear Option Allowed?
Top level (that is, outside of any looping actions)YesYes
Inside a for-each action with the Process items in parallel option selectedYesNo
Inside a for-each action loop and a while action loopYesYes
Inside a stage file action configured with the Read File in Segments operationYesNo
Inside a scope actionYesYes
Inside a global fault or a named fault (that is, inside a scope fault handler)YesYes
  1. Create a schedule integration.

    Note:

    The fault object is only supported with schedule integrations.
  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.
  4. The Operation drop-down list is shown with options for Append and Clear.

  5. Build the fault object mapping.

  6. Complete your mapping.

  7. 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.

Reference:

No comments:

Post a Comment

Featured Post

11g to 12c OSB projects migration points

1. Export 11g OSB code and import in 12c Jdeveloper. Steps to import OSB project in Jdeveloper:   File⇾Import⇾Service Bus Resources⇾ Se...