wf_launch() event
The
wf_launch
function on the first action step of an action
set is recognized by Workflow.
This function is optional and exists only for backwards compatibility with previous versions of workflow scripting.
-
wf_launch()
is not shown in the script template. - Use it as the first function and only if you developed scripts in previous versions of Optiva that contain it.
- Use in the first step only. It is ignored anywhere else.
- Steps can include both a
wf_launch
andwf_start
. Scripts can run with or without it. - The
wf_launch
method is run first. If the method returns a 0 (i.e., the default value) or a 1, thenwf_start
is called next. -
wf_start
is not called if thewf_launch
returns 111 or 9111. - If
wf_launch
returns 9111 or 111, thenwf_start
is not called.