Mutual Exclusion for Scheduled Job
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2017 02:35 AM
Hi everyone,
Is there any suitable way to prevent a Scheduled Job from being executed more than once at a time (either using scheduling or 'Execute Now' options)? Doing some research, I've seen some information on the wiki about a semaphore class (GlideMutex):
http://wiki.servicenow.com/index.php?title=Serialize_Using_a_Lock_(Mutex)#gsc.tab=0
which seems to be either deprecated or not recommended for use, as suggested on:
Where is the document for GlideMutex?
Anyone has some insights about lock control in ServiceNow? Is it possible to achieve this funcionality at the moment? Any experience to share about using GlideMutex?
Thanks for your help, guys!
Alber.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2018 07:44 PM
Hi Alber,
I encounter the same problem.
Did you eventually resolve your problem?
If Yes, would you please share some information with me?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2018 07:46 PM
Hi Alber,
I encounter the same problem.
Did you eventually resolve the issue?
If Yes, would you please share some information with us?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2018 06:57 AM
Hi martysai,
Sadly, not...I did not find a total solution for this, apart from the one suggested above. I wonder why primitives for locking auch as GlideLock were deprecated. Probably they were causing some blocking issues under some circumstances or something, but truth it, it would come quite in handy to have something similar in ServiceNow.
Sorry I cannot be of more help. Best of luck figuring out a solution for this.
Alber.