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
1 changed files with 7 additions and 0 deletions

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();