Home Search

DriveWorks Pro 22
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 can only be 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 then Documents - Data.

  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 and open the document for editing.
  4. Select the Action field and click the Build... button.

    the Action is the name of the Transition or Operation the Specification will use when the Triggering Files are created.

    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.
  5. Select the Triggering Files field and click the Build... button.

    The Triggering Files is the name of a File, created by a prior State, that will trigger the action.

    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.
  6. The Triggered Action can be set to run on a specific DriveWorks Autopilot machine.

    Enter the name of the Tag that will determine this in the Tags field.

    See Tags below for more information.

  7. Optionally the States To trigger On can be set.

    This field gives greater control on the timing of when the action is triggered.

    This specifies the state(s) the specification must be in for the trigger to execute.

    Enter the name of the State the Specification must be in before DriveWorks Autopilot attempts to trigger the Operation of Transition given in the Action field.

    Multiple State names can be entered by using a pipe-bar delimited list, for example:

    RuleNotes
    "Completed|Released"DriveWorks Autopilot will not attempet to trigger the Operation or Transition until the specification is in the Released or Completed state.

Tags

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 - Edit Tags.

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://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

Trigger Settings (for Autopilot)