Home Search

DriveWorks Pro 22
Invoke Operation on Existing Specification

Send Feedback

Invoke Operation on Existing Specification

This Specification Flow Task will run an Operation on an existing Specification.

Properties

Property NameDescription
Operation NameThe name of the Operation to run. This cannot result in an Operation on a Specification currently in a Running State.
Specification IdThe Id of the Specification (numeric value).
TitleChanges the Title (not the name) of the Task.
Ensure that the DriveWorks user running this Task has permissions to access the Specification and start the Operation.

Examples

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.

Property NameExample ruleExample resultMeaning
Operation NameOperationReturnDeletePerforms the Delete Operation in the current State of the selected Specification, if no Delete Operation exists no Operation is performed.
Specification IdDWSpecificationID9999Performs the selected Operation on specification 9999 of the current Project.

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

  • Operation was successfully invoked on Existing Specification.

Success with Warnings

  • Should never be fulfilled.

Failed (one of the following occurred)

  • Specification ID was less than 1.
  • Empty operation name was provided.
  • Specification not found with the ID provided.
  • Operation not found with the name provided.
  • Operation was not enabled.
  • Transition was not found.
  • Exception was encountered during task execution.

See Also

Specification Flow Security