I am working on a related action and while working on a related action I don't want anyone to work on that related action so how to implement this scenario?
Discussion posts and replies are publicly visible
How I have implemented this feature is using this plugin - Text Cache. It allows you to store a value in the server's cache memory. So here is what you need to do
This way, when the key has a value, someone is using it. If it doesn't have a value, no one is using it.
Hope it helps!
FYI - don't use that text cache plugin in an HA environment.
Honestly, no clean way to do this. Mike's approach also has some caveats, people need to complete or cancel. Though, you could implement something like Appian does for process models by notifying the user that someone has taken the task and give them the option to kick them out.
definitely - and/or you need to implement a strict (and probably relatively cruel) task timer - at least for actions with a high possibility of this sort of collision.
Mathieu Drouin said:people need to complete or cancel.