Home Search

DriveWorks Pro 22
Create Closed Child Specification

Send Feedback

Create Closed Child Specification

The Create Closed Child Specification task will create a Child Specification and Transition it using the given Transition.

Create Closed Child Specification will create the Child Specification without showing the Child Projects user interface.

The invoked Transition must be available from the Initial State in the Child Project Specification Flow.

Ensure that the DriveWorks user creating the Closed Child Specification has permissions to the relevant State and Transition in the Child Project.

Properties

Property NameDescription
Child Specification ListThe name of the Child Specification List that you wish to start a new Specification on.
Child Transition NameThe name of the Transition to invoke on the Child Specification. This will put the Specification in the desired creation State.
Project NameThe name of the Project that you wish to use for the new Specification.
TitleChanges the Title (not the name) of the Task.

Outputs

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 Specification Flow.

Data Outputs

Output NameDescription
Created IdThe Id of the created Specification.

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

  • Successfully created child Specification and invoked Transition.

Success with Warnings

  • N/A - should never be fulfilled

Failed(One of the following occured)

  • No child Specification was specified.
  • No Project name was specified.
  • No Transition name was specified.
  • Child Specification list could not be found with the name provided.
  • Project is not available - (please check user permissions).
  • Couldn't find Transition to invoke on child Specification
  • Unable to invoke Transition as it is not enabled
  • General error - see the Specification report for more information.

Example

When this task is added the properties are static by default.
See How To: Change A Static Property To A Dynamic Property to enable rules to be built on these properties.

PropertyExample RuleExample ResultMeaning
Child Specification ListDWVariableChildSpecListNameContract ItemsThe name of the Child Specification List that you wish to start a new Specification on. Must result in a valid control name.
Child Transition NameIf(DWVariableChildSpecListName = "Contract Items","Send for approval","Release")Send for approvalThe name of the Transition to invoke on the Child Specification. This will put the Specification in the desired creation State.
Project Name"Door Project"Door ProjectThe exact name of the project that you wish to use for the new specification.

The Output results for the example would be:

Output NameOutput Value
Created Id12

Where 12 is the next available Specification Id.

DriveWorks Tech Tips Portal

Closed Child Specification

A way of completing a Child Specification, pulling data inputted in the Parent Specification, without needing to open the Child.

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.


See Also

Specification Flow Security