We have a process model which gets triggered by two different role users for same data . Both of them executes the process model with a split of second gap. Due to this, the first time process model will be running and second time also gets triggered for the same data, as the first one completes the second time process model fails and we have configured mails getting triggered for failed process model, so generating mails.
Do we have a way where when process model is running for a certain data and second user triggering the same process model for same data should not get error or second time the process model for same data should not get triggered.
You can create a process report and use a!queryProcessAnalytics() that gives active processes and the process variable data that is present in them. Use this information to avoid invoking new process if active process with same data exists.
Discussion posts and replies are publicly visible
© 2020 Appian. All rights reserved.