The Invoke Child Specification Transition task will trigger a child specification transition to be run.
Property Name | Description |
---|---|
Child Specification List | The name of the specification control that contains the specification you wish to invoke a transition on. |
Specification Index | The index of the child specification that you wish to transition. This does not need to be set if the specification name property has been set. |
Specification Name | The name of the child specification that you wish to transition. This does not need to be set if the specification index property has been set. |
Transition Name | The name of the specification transition that you wish to invoke. |
Title | Changes the Title (not the name) of the task. |
Ensure that the DriveWorks user running this task has permission to run the Transition.
The Child Specifications State must also have an available Transition with the named specified.
Specification Index is not the Specification's Id. It is the index of the Specification in the Child Specification List
The first Child Specification in the Child Specification List would have an index of 1.
Using Specification Index
Property | Example Rule | Example Result | Meaning |
---|---|---|---|
Child Specification List | "OrderItems" | OrderItems | OrderItems is the name of the Child Specification List to search in for the Specification and invoke the Transition. |
Transition Name | DWVariableTransitionName | Send to Manufacture | The Variable TransitionName must evaluate to the exact name of an Transition available on the Child Specification. |
Specification Index | DataTableReturn | 7 | Child Specification List Data is being shown in a Data Table. The return of the Data Table is the Selected Row Index. This is the Index of a Child Specification. |
Using Specification Name
Property | Example Rule | Example Result | Meaning |
---|---|---|---|
Child Specification List | "OrderItems" | OrderItems | OrderItems is the name of the Child Specification List to search in for the Specification and invoke the Transition. |
Transition Name | DWVariableTransitionName | Delete | The Variable TransitionName must evaluate to the exact name of an Transition available on the Child Specification. |
Specification Name | TableGetValue(ChildSpecList,1,DataTableReturn) | Door Project 0001 | TableGetValue returns the name of the Child Specification based on the Data Tables Selected Index. |
This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.
Outputs are only available within Specification Macros. Currently Outputs are not available for Specification Flow.
This task supports Status Outputs. These can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs in the Task Node Outputs section of Specification Macros Task Node.
The status output navigation is as follows:
Success
Success with Warnings
Failed (one of the following occurred)
See Also
DriveWorks Tech Tips Portal |
Custom Child Spec List How to create your own Child Specification List control which can be tailored to suit your forms, using a Data Table and Macro Buttons to reskin it. |
DriveWorks Tech Tips Portal is available to DriveWorks Pro customers with an active subscription and support contract. Tech Tips provide cut down projects that highlight specific functionality for faster and more effective learning. To access the portal:
The portal provides a search facility, start typing the name of the Tech Tip (as indicated above) to display the Tip you require. |