Hi Team,
Eg: I have a scheduled process model for every 1hr and let's say
Happy flow: PM got triggered at 15:00 EST and it took 15mins to complete. And next instance will start at 16:00 EST.
Exception flow: PM got triggered at 15:00 EST and it took 1hr 15mins to complete. And next instance will start at 16:00 EST but here the previous is still running. Can we restrict?
Can we build a flow where the PM should trigger every one hour and make sure no parallel execution of 2 or more instances at the same time.
Discussion posts and replies are publicly visible
The easy way is to do a query on a process report. This should work while the instance is running. However this does not work well if you are bringing your instance backup after some downtime. Appian will launch all the instances that were supposed to start during that timeframe. In this case, the only thing that worked for me was using pessimistic locking.