Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to prevent failover tasks from generating unless the first task actually fails?

HaniyaH
Tera Contributor

Hi,

I need help with preventing a failover task from generating unless the OIM task actually fails.

We currently have catalog items, which generate a RITM, once the approvals are done 2 tasks are generated which are:

 

task 1: company=OIM, type = vendor, state = closed incomplete >  when this fails a second task should generate

task 2: type = internal, assignment group = some group, state=open

 

What is happening currently is that both tasks are generating, but task 2 is generating before task 1 fails. Can you help me figure out where in the workflow and subflow I can fix  this issue please. Below are picture of the workflow and subflow

 

workflow:

 

Screenshot 2025-10-14 150949.png

 

The flow goes like this above. I think its somewhat clear what is happening with the arrows except in the subflow success activity so I will explain. If subflow success = yes > goes to if manual task needed?. if subflow success = no > it goes to if validation error. Let me know if you need me to expand any activity.

 

Subflow:

 

1.png

2.png

3.png

4.png

 

Let me know if you need any information about whats in each activity of the subflow.

Please help as I am not sure where I can make a wait for success activity since the workflow already has a if subflow success activity which seems to be wired correctly. Thanks

 

0 REPLIES 0