Multiple instances of flow triggers at a time , need help configuring queue

Varun Sharma
Tera Expert

Hi Experts, 

 

I've a common flow attached to multiple catalogue items for a complex requirement.  

If multiple catalogue items are requested simultaneously , messes up the end result , i want only one flow instance should get triggered at a time and rest should remain in queue so they should not run in parallel but only in sequential manner. 

Kindly assist, if you have any idea. 

 

Regards, 

 

Varun Sharma

5 REPLIES 5

Harish KM
Kilo Patron
Kilo Patron

Hi @Varun Sharma Why would you have same flow attached to multiple catalogs? this may not work for long run

The best approach would be have different flow for each catalog and have a subflow for similar requirements and call this subflow in all main flows so that you wont have this issue

Regards
Harish

Hi Harish, 

 

it's a peculiar requirement , where we need to optimise licensing for different catalogue items, they all are interdependent  and thus needs to have a common flow. 

only thing is , i need only one instance of flow to run at a time and other should be queued. 

 

Regards, 


Varun

yad_achyut
Giga Guru

Hello @Varun Sharma :
There are following ways to overcome your problem :
1. Add a wait condition on the beginning of the flow for 5-10 second it will help you in the order of execution for the parallel requests.
2. Create a main flow and a sub flow and call the sub flow from main flow.

Pushpanjali
Tera Contributor

@Varun Sharma 

The reason is same flow you have for the catalog items , but in this catalog items are stand alone records so need to attach separate flow to each item.

 
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
 
Regards,
Pushpanjali