The Invoke Child Specification Operation task will trigger a child specification operation to be run.
Property Name | Description |
---|---|
Child Specification List | The name of the child specification control that contains the child specification you wish to invoke an operation on. |
Operation Name | The name of the specification operation that you wish to invoke. |
Specification Index | The index of the specification that you wish to invoke an operation on. This does not need to be set if the Specification Name property has been set. |
Specification Name | The name of the specification that you wish to invoke an operation on. This does not need to be set if the Specification Index property has been set. |
Title | Changes the Title (not the name) of the task. |
Ensure that the DriveWorks user running this task has permission to run the Operation.
The Child Specifications State must also have an available Operation 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.
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.
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 Operation. |
Operation Name | DWVariableOperationName | Delete | The Variable OperationName must evaluate to the exact name of an Operation available on the Child Specification. |
Specification Index | DataTableReturn | 4 | 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 Operation. |
Operation Name | DWVariableOperationName | Delete | The Variable OperationName must evaluate to the exact name of an Operation 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)
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. |
See Also