DriveWorks Pro 15: SppGetSpecificationOperationsAndTransitions [send feedback...]

SppGetSpecificationOperationsAndTransitions

Returns a table with all operations and transitions for a specification.

This will return the operations and transitions for a top level specification only.

If you require the operations and transitions for a child specifications please see SppGetOperationsAndTransitionsForChildSpecification.

Syntax

SppGetSpecificationOperationsAndTransitions([Specification Name],[Current User Only])

Where:

Specification Name is the name of the specification.

Current User Only is True to only show the operations and transitions that the current user has permission for.

Examples

RuleMeaning
SppGetSpecificationOperationsAndTransitions("Spec 0025"True)Will return a table of Operations and Transitions for the specification Spec 0025.

Results

The table will be returned as an array, which will look like the example below:

{"Name","Type","State","Target State";"Edit","Transition","Pending","Specify";"ReleaseLocal","Transition","Pending","Completed";"ReleaseAutopilot","Transition","Pending","Released To Server";"Copy","Operation","Pending","";"Delete","Operation","Pending",""}

When this is presented in tabular format it looks like this:

NameTypeStateTarget State
EditTransitionPendingSpecify
ReleaseLocalTransitionPendingCompleted
ReleaseAutopilotTransitionPendingReleased To Server
CopyOperationPending
DeleteOperationPending

Table of Contents