mirror of
https://github.com/jbowdre/vRealize.git
synced 2024-11-21 17:32:18 +00:00
schema cleanup
This commit is contained in:
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 |
|
@ -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");
|
|
@ -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!");
|
|
|
@ -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");
|
|
Loading…
Reference in a new issue