Create removeAllLocks.js

This commit is contained in:
John Bowdre 2022-06-15 10:43:11 -05:00 committed by GitHub
parent c071bd5cce
commit a2988155c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,7 @@
/* JavaScript: removeAllLocks action
Removes all vRO locks for resolving stuck workflows
Inputs: None
Return Type: string
*/
System.debug("Removing locks...");
LockingSystem.unlockAll();