- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited 10 hours ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @snow_beginner,
You need to return an explicit output variable from the subflow that indicates whether the OIM process actually failed, and then use that variable in your main workflow’s “If” condition to decide whether to create the failover task.
Step 1: Modify the Subflow
In your OIM subflow, after you detect that the OIM task has failed (API response or vendor reference validation failed), set an output variable like this:
And if it’s successful:
You can add this as a new Subflow Output Variable:
Name: OIM_Failure
Type: Boolean
Default: false
Step 2: Update the Workflow “If” Condition
In your main workflow, locate the branch where you currently have:
If Subflow success = Yes/No
Replace or extend that logic to use your subflow’s output instead:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @snow_beginner,
You need to return an explicit output variable from the subflow that indicates whether the OIM process actually failed, and then use that variable in your main workflow’s “If” condition to decide whether to create the failover task.
Step 1: Modify the Subflow
In your OIM subflow, after you detect that the OIM task has failed (API response or vendor reference validation failed), set an output variable like this:
And if it’s successful:
You can add this as a new Subflow Output Variable:
Name: OIM_Failure
Type: Boolean
Default: false
Step 2: Update the Workflow “If” Condition
In your main workflow, locate the branch where you currently have:
If Subflow success = Yes/No
Replace or extend that logic to use your subflow’s output instead: