Skipping multiple actions

If the status of the workflow object is 400, then the next two actions in the workflow are skipped. In this example, NEW_STATUS and APPROVE_STATUS, are skipped.


Dim oStatus As Object = ObjProperty("STATUSIND.STATUS")
if (oStatus = 400) then
Dim iSkip As Integer = WSkip("NEW_STATUS")
iSkip = WSkip("APPROVE_STATUS")
end if
Return 111

In the Action Set form, the Next Line column for this action includes the action lines for NEW_STATUS, APPROVE_STATUS and the next action. For example, if the above script is in the second action and NEW_STATUS is action three and APPROVE_STATUS is action four, then Next Line is 3;4;5.