Manatee
The Manatee
module allows flows to shutdown and restart Manatee itself.
Shutdown
This shuts down Manatee. Use with caution - especially when running the flow on many machines at once as there is no easy way to reverse such an action. The shutdown occurs after the flow has completed. For immediate (mid-flow) shutdown, pass true
as an argument. Note that this is not a good way to abort a flow.
Example
javascript
Manatee.shutdown();
Restart
This restarts Manatee. The restart occurs after the flow has completed. For immediate (mid-flow) restart, pass true
as an argument.
Example
javascript
Manatee.restart(true);
Get elevation status
Determine if manatee is running with elevated privileges.
Example
javascript
Manatee.isElevated;