Home Search

DriveWorks Pro 22
Invoke Child Specification Transition

Send Feedback

Invoke Child Specification Transition

The Invoke Child Specification Transition task will trigger a child specification transition to be run.

Properties

Property NameDescription
Child Specification ListThe name of the specification control that contains the specification you wish to invoke a transition on.
Specification IndexThe 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 NameThe 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 NameThe name of the specification transition that you wish to invoke.
TitleChanges 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.

Example

Using Specification Index

PropertyExample RuleExample ResultMeaning
Child Specification List"OrderItems"OrderItemsOrderItems is the name of the Child Specification List to search in for the Specification and invoke the Transition.
Transition NameDWVariableTransitionNameSend to ManufactureThe Variable TransitionName must evaluate to the exact name of an Transition available on the Child Specification.
Specification IndexDataTableReturn7Child 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

PropertyExample RuleExample ResultMeaning
Child Specification List"OrderItems"OrderItemsOrderItems is the name of the Child Specification List to search in for the Specification and invoke the Transition.
Transition NameDWVariableTransitionNameDeleteThe Variable TransitionName must evaluate to the exact name of an Transition available on the Child Specification.
Specification NameTableGetValue(ChildSpecList,1,DataTableReturn)Door Project 0001TableGetValue returns the name of the Child Specification based on the Data Tables Selected Index.

Using the Task in a Specification Macro

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.

Status Outputs

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

  • Transition was successfully invoked on child specification.

Success with Warnings

  • Should never be fulfilled.

Failed (one of the following occurred)

  • Specification is not running.
  • Child Specification control could not be found.
  • Child specification failed to load.
  • Could not find child spec with the name provided.
  • Could not find child spec with the ID provided.
  • Transition was not found.
  • Current user is not authorized to access the transition.

See Also

Specification Flow Security

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.

View all Tech Tips

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:

  1. Go to https://my.driveworks.co.uk/learn/tech-tips/
  2. Login with your DriveWorks Pro account credentials, if asked
  3. Click the Visit Tech Tips Portal button for access

The portal provides a search facility, start typing the name of the Tech Tip (as indicated above) to display the Tip you require.