DriveWorks Pro 16: Invoke Child Specification Operation [send feedback...]

Invoke Child Specification Operation

The Invoke Child Specification Operation task will trigger a child specification operation to be run.

Properties

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

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.

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 Operation.
Operation NameDWVariableOperationNameDeleteThe Variable OperationName must evaluate to the exact name of an Operation available on the Child Specification.
Specification IndexDataTableReturn4Child 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 Operation.
Operation NameDWVariableOperationNameDeleteThe Variable OperationName must evaluate to the exact name of an Operation 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.

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://hub.driveworks.co.uk/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

Table of Contents