Want the ability to add an Throw New Fault activity at any point in the execution of an integration flow? Now you can. You will need to enable "oic.ics.console.integration.throw-action" feature flag to enjoy this feature.
Create or Edit an Integration
Drag the 'Throw New Fault' action
Notice the gray/blue plus icons that appear over the connector
The fault can be Dropped on any of those plus icons
Once dropped enter a Name and Description (optional) for the error
Upon choosing Create, you will automatically be take to fault details
The fault can contain information such as Code, Reason and other Details
To edit the fields you'll need to click the pencil icon which will take you to the Expression Builder to enter the information
The user can also provide a Skip Condition which will prevent the fault from actually being thrown
Closing the details will return you to the orchestration and the node will be added to the diagram
Without a Skip condition the diagram is displayed with a dashed line to the next activity signifying it will continue execution after only after executing the fault.
When a Skip condition is specified the line to the next activity is solid while the decoration around the error activity is dashed.
The solid line indicates that it’s possible that the execution of the flow will bypass the error and go straight through to the next activity.