mirror of
https://github.com/jbowdre/vRealize.git
synced 2024-11-25 19:12:19 +00:00
7 lines
236 B
JavaScript
7 lines
236 B
JavaScript
|
/* JavaScript: create lock
|
||
|
Creates a vRO lock to avoid conflicts from multiple concurrent workflow runs.
|
||
|
Inputs: none
|
||
|
Outputs: none
|
||
|
*/
|
||
|
System.debug("Creating lock...");
|
||
|
LockingSystem.lockAndWait("namingLock","eventBroker");
|