From a2988155c5489d09dfe7ed4a7f44b673f1c15ad4 Mon Sep 17 00:00:00 2001 From: John Bowdre <61015723+jbowdre@users.noreply.github.com> Date: Wed, 15 Jun 2022 10:43:11 -0500 Subject: [PATCH] Create removeAllLocks.js --- .../Actions/com.virtuallypotato.utility/removeAllLocks.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Orchestrator/Actions/com.virtuallypotato.utility/removeAllLocks.js diff --git a/Orchestrator/Actions/com.virtuallypotato.utility/removeAllLocks.js b/Orchestrator/Actions/com.virtuallypotato.utility/removeAllLocks.js new file mode 100644 index 0000000..1241828 --- /dev/null +++ b/Orchestrator/Actions/com.virtuallypotato.utility/removeAllLocks.js @@ -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();