Home Search

DriveWorks Pro 22
Specification Macros Connections

Send Feedback

Specification Macros Connections

Connections are used to join together Specification Macro Nodes. Connections are made between each of the Nodes Inputs and Outputs to create a Specification Macro flow. For more information about Nodes see: Specification Macro Nodes

What Are Connection Points?

Connection Points are what is used to make Connections between different Nodes. The two different types of Connection Points are Navigation and Data Points (green for Navigation and black for Data). For more information on Specification Macro Connection Points see here.

Connection Types

Connections can be easily thought about with some simple rules to how they work. These are:

  • Navigation Points can only connect to other Navigation Points. Green to green.
  • Data Points can only connect to other Data Points. Black to black.
  • You can have multiple Connections coming from a Navigation Output to different Navigation Inputs.
  • You can have multiple Connections coming from different Navigation Outputs to one Navigation Input.
  • You can have Connections from a Data Output to multiple Data Inputs.
  • You can NOT have multiple Connections from Data Outputs going to one Input.
  • You can NOT cross Connection points and connect green to black.

All Inputs except Data Inputs can have multiple Connections. This is because Data Inputs can only take one Output.

How To Create Connections

You can only connect Node Navigation and Data points to same type of point (green points to green points and black points to black points).

Connection points that are incompatible with the type of connection being made will become unavailable for connecting.

DriveWorks will execute all valid Tasks from the first available route before backtracking and checking for all other valid Tasks.

For Example:

When three Tasks are all connected to the Start Node and all are then connected to a fourth Task, DriveWorks will execute the first and fourth Tasks first (the most direct route) before executing the second to fourth and third to fourth Tasks.

To create a Connection:

  1. Maintain the click on a NodeConnection Point.
  2. Drag and drop the line that appears to another Node Connection Point.

How To Delete Connections

To delete a Connection:

  1. Move your mouse cursor over one of the points of the Connection. This will bring up the Specification Macros Connection Manager
  2. Click on the red X that appears. This will delete the Connection.

Connection Examples

There are a two different Connection types possible. These are Navigation and Data but there are multiple ways of using these connections. Here are some examples:

Connection ScenariosImageDescription
If the order of execution mattersShows a Navigation Output connected to a Navigation InputThis example shows how to use a Navigation Connection so that a Node is executed after another one. This is how you can force the order in which Nodes are executed.
If the order of execution doesn't matterShows Mutiple Task connected to one Navigation Output Point.This example shows how to use Navigation Connections so that two Nodes are executed after another one. This is if you want these two Nodes to be executed but you don't need to force their order of execution.
Sharing Data between NodesShows a Data Output connected to a Data Input.This example shows a Data Connection between the Released Documents Output of the Release Document(s) Task and the Constant Value Input of the Drive Constant Value Task. This means that the constant will be driven with a pipe-bar list of all the released documents.
Reacting to the status of a TaskShows Multiple Tasks connected to different Status Output Points.This example shows how you can use Tasks Status Output Connection Points to run different Nodes depending on its Status. For more information see Specification Macros Task Node.
Triggering Tasks based on ConditionsShows Multiple Tasks connected to different Status Output Points.This example shows how you can use Condition Nodes to trigger other Tasks and Conditions. For example, Cancel Specification would be executed if one condition fails, Released Documents if the same condition passes and Toggle if two conditions pass.

Fulfilment Order

DriveWorks will execute and fulfil a Macro Workflow in a specific order, based on the the type of Nodes used within a Macro workflow.

A Macro will always begin from the start Node, this is the blue Node on the left hand side of the Specification Macro Flow.

Each Node is connected by dragging the output connection point of one Node, to the input connection point of another Node.

Navigation Order

The order in which Nodes are linked to one another is the most basic form of controlling when a Macro Task should be executed.

Macros A, B and C will all be executed one after another.
The order in which the macros are executed is not crucial. All Macros will be executed in tandem with one another.
Macros A and B will be executed in tandem, but Macro C will only be executed after B has finished.

Condition Node Connection Fulfilment Order

A condition Node has 2 possible outputs, a condition output and a Navigation Output.

These Outputs will be fulfilled in the following order.

  1. Condition Output
  2. Navigation Output

Task Node Connection Fulfilment Order

A Task Node has 3 possible outputs, Data outputs, Status Outputs and Navigation Outputs.

These Outputs will be fulfilled in the following order.

  1. Data Output
  2. Status Output
  3. Navigation Output

Using this information it's possible to have a great deal of control as to when specific Macros will be executed.