Wskip
You can use this function for Optiva Workflows.
Purpose
Skips a step in a workflow.
Syntax
Dim variable As Integer = Wskip(Action)
Arguments
Part | Description |
---|---|
Action
|
The name of the action that is skipped. |
Description
Wskip
skips an action in a workflow. Use it in a
conditional statement. For example, a packaging formula in a workflow for
approval requires the user to pick a new package. The contents are too dense
for the customary packaging. The workflow is written so that if the contents
are below a specified density, the action is skipped.
If an action contains
Wskip
, the
Next Line field on the
Action Set form must list more than one next line.
For example, action 2 contains
Wskip
for action 3. Action 4 depends on the completion
of action 3, but if action 3 is skipped, action 4 still must occur. Both action
3 and 4 must be listed in
Next Line
for action 2.
Examples
In this example, the
if
statement checks the status of items for a formula.
If all of the items are not on the blacklist, the
TECH_DIR
action is skipped. If any of the items are on
the blacklist, giving the blacklist parameter a positive (1) value, then the
TECH_DIR
action is not skipped.
Dim oBlklist As Object = ObjProperty("VALUE.TP0","", "","BLACKLIST", 2)
if (oBlklist = 0) then
Dim iSkip As Integer = Wskip("TECH_DIR")
end if