DriveWorks Pro 15: Triggered Action [send feedback...]

Triggered Action

A Triggered Action allows a specification to transition to a State once a specified file has been created.

Triggered Actions are processed by DriveWorks Autopilot.

Using a Triggered Action allows the default order of generating outputs to be manipulated to better suit your needs.

For example:

  • An Email can be sent once a model has been generated alerting a Team Leader to a specification being completed.

Create a Triggered Action

To create a Triggered Action:

Open the project in DriveWorks Administrator and go to Stage 4: Output Rules> Documents

  1. Click the Add button on the command bar to launch the Create Document wizard.
  2. Select Triggered Action from the Documents list and enter a name in the field under the list.

  3. Click Finish to close the wizard.
  4. The document will open for editing.

    There are 2 items that require values entering:

    • Action Result - Is the Name of a Transition the specification will be held in until the Triggering File is created.
    • Triggering Files Result - Is the name of a File, created by a prior State, that will trigger the action.
  5. Select the Action Rule field and click the Build... button.

    The rule must equal or evaluate to a Transition that exists in the Specification Flow.

    Example Rule

    RuleNotes
    "Manufacturing"Will place the specification into the Manufacturing transition.
  6. Select the Triggering Files Rules field and click the Build... button.

    The rule must equal or evaluate to a Full Path and File Name of a file being generated by a prior State.

    Example Rule

    RuleNotes
    "\\DriveWorksData\Files\Housing "&OrderNumberReturn&".slddrw"The file \\DriveWorksData\Files\Housing 1234.slddrw will trigger the transition once it is created.
    DWSpecificationFullPath&"\Housing "&DWSpecification&".slddrw"The file \\DriveWorksData\Files\Housing 1234.slddrw will trigger the transition once it is created.

Tags rule

Tags are relevant when two or more DriveWorks Autopilot machines are deployed.

Tags allow control over which DriveWorks Autopilot processes the required information for a specification.

The result of the Tags rule must match a tag set in DriveWorks Autopilot.

RuleMeaning
If(HighPriorityCheckBox=True,"High","Low")When the checkbox HighPriority is checked will result in the tag High being applied to the parameter. Otherwise the tag low will be applied.
DriveWorks Autopilot must be set to process the information being tagged.

DriveWorks Tech Tips Portal

Triggered Actions

Triggered Actions allow DriveWorks to wait until a designated file exists before transitioning a specification.

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

Trigger Settings (for Autopilot)

Table of Contents