Home Search

DriveWorks Pro 21
SppGetOperationsAndTransitions

Send Feedback

SppGetOperationsAndTransitions

Returns an Array with all Transitions and Operations for this Specification, returns an empty Array if not in a Specification.

Syntax

SppGetOperationsAndTransitions([Current User Only])

Where:

Current User Only - TRUE will show the Transitions and Operations that the current user has permission to. FALSE will show all.

This function will only calculate from a running Specification and once a Control change triggers a recalculation of form data.

Example

RuleResultMeaning
If(CheckBox1Return=TRUE, SppGetOperationsAndTransitions(TRUE),""){"Name","Type","State","Target State"; "Finish","Transition","Specify","Pending"; "ReleaseLocal","Transition","Specify","Completed"; "ReleaseAutopilot","Transition","Specify","Released To Server"; "Save","Transition","Specify","Saved"}When the CheckBox is checked it will equal TRUE and the Function will calculate and return the Array only showing the Transitions and Operations that the current user has permissions for.