How can a Java event handler know if another is running?

We have 4 Java event handlers that can be run by users but if one is already running, even on a different object and by a different user, one of them will fail. We are investigating why this might be happening but as a workround is it possible for the event handler Java code (or elsewhere) to find out if one of the 4 routines is currently running? If one is running then ideally (until we solve the conflict) it would simply queue up behind it. Alternatively it would not try to run for, say, 15 minutes when it would check again. The worst option would be to tell the user to try again later.

Has anyone any suggestions?

Thanks

Add Comment
1 Answer(s)

Have you worked through this?  Can you share with this group how it was accomplished

Agile Angel Answered on May 19, 2017.

As yet we have no answer for “How can a Java event handler know if another is running?”

on May 22, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.