vrealize/Orchestrator/Workflows/Generate Unique Hostname/Tasks/01_create_lock.js

7 lines
236 B
JavaScript
Raw Normal View History

2022-06-15 18:04:25 +00:00
/* 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");