Start one process at at a time

Certified Lead Developer


We have a start process which gets data from third party and process is scheduled to execute in every 5 minutes.

If Appian is down during that period , we observed that when Appian comes online it start n numbers of same process for the time it was down. So let say Appian was down for 25 minutes , once appian comes online we see 5 process instances are getting triggered for the same process and leads to data duplication.

We want to make sure that at any time only one process executing and not multiple. We thought of using timer to wait next to start process and assign random seconds to each instance but that fails if instances are more 25.

Any other solution?

  Discussion posts and replies are publicly visible