schema cleanup

This commit is contained in:
John Bowdre 2022-06-15 15:37:10 -05:00
parent 4eca15c016
commit 42d4d51250
4 changed files with 8 additions and 13 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 91 KiB

View file

@ -0,0 +1,8 @@
/* JavaScript: exception handler
Log the exception and release the lock.
Inputs: none
Outputs: none
*/
System.error("Workflow execution failed!");
System.debug("Releasing lock...");
LockingSystem.unlock("namingLock", "eventBroker");

View file

@ -1,6 +0,0 @@
/* JavaScript: errors
Terminate the workflow in the event of an unrecoverable error
Inputs: errMsg (string)
Outputs: none
*/
System.error("FATAL ERROR!");

View file

@ -1,7 +0,0 @@
/* JavaScript: remove lock
Removes the lock to re-allow subsequent workflow runs
Inputs: none
Outputs: none
*/
System.debug("Releasing lock...");
LockingSystem.unlock("namingLock","eventBroker");