Result Arrow

Overview

The Result arrow is color coded blue and primarily stems from an Evaluation Object to determine the course of a workflow depending on the evaluation result. Unlike the Success and Failure flow control arrows, the Result arrow contains properties to permit specific result values to be selected or entered (as shown below). The path that a workflow will follow is dependent on which Result arrow matches the value of the Evaluation object it stems from.

Related Topics  

To link an Evaluation Object with a Result Arrow:

Unlike other workflow arrows (i.e. Success, Failure arrows) the Result arrow contains specific properties to allowing it to detect the contents of an Evaluation object. Follow the instructions below to link the Evaluation object with a Result arrow:

  1. Add existing objects from the Repository (i.e. pre-existing tasks, conditions, sub-workflows) or create new objects to add to the workspace that will be used to link the  Evaluation object to.

  2. Drag the Result arrow from the Available Objects panel onto the workspace.

  3. Drag the side opposite the tip of the arrow to the Evaluation object and point it to the desired task, condition or other available object.

  4. Double-click the Result arrow to show its properties. Doing so will open a dialog titled Result (as displayed below).

  5. Select from the available options (specified in the table above).

  1. Click OK to save changes and close the properties dialog.

  2. Repeat the above steps to link another Result arrow (containing different results) to a separate workflow object.

During execution, the path that the workflow will proceed to will now depend on the Result arrow matching the results of the prior Evaluation object.

Parameters

The Result arrow’s properties are as follows:

Parameter

Description

Yes/True

The workflow will proceed to the object followed by a Result arrow with a YES or TRUE value matching that of the Evaluation object it stems from.

No / False

The workflow will proceed to the object followed by a result arrow with a NO or FALSE value matching that of the Evaluation object it stems from.

Value

The workflow will proceed to the object followed by a result arrow with a Value parameter matching that of the Evaluation object it stems from.

All other values.

The workflow will proceed to the object followed by a result arrow if no other Result arrows are followed.

Examples

The following examples will illustrate the basics of incorporating an Evaluation object and Result arrows onto an automated process. For additional, more complex examples, see Workflow Logic.

SAMPLE 1 - YES/TRUE

In the example workflow diagram below, an Evaluation object holds the expression 7<8 (which amounts to TRUE) and uses 2 separate Result arrows, one set to TRUE that points to Task 1 and another set to FALSE that points to Task 2. At runtime the expression 7<8 will be evaluated to determine the workflow's course. Since the evaluation is true, the workflow will follow the TRUE result and execute Task 1.

 

SAMPLE 2 - NO/FALSE

The example below is almost identical to sample 1. However, in this example, the Evaluation object holds the expression 7>8 (which amounts to FALSE). At runtime the expression will be evaluated to determine the workflow's course. Since the evaluation is false, the workflow will follow the FALSE result and execute Task 2.

 

SAMPLE 3 - VALUE

In the example workflow diagram below, an Evaluation object holds the value January and is connected to 2 separate Result arrows, one with the Value parameter set to December which points to Task 1 and another with the Value parameter set to January which points to Task 2. At runtime, the workflow will proceed to the object followed by a result arrow with a Value parameter matching that of the Evaluation object it stems from, therefore, will execute Task 2.

 

SAMPLE 4 - ALL OTHER VALUES

In the example workflow below, an Evaluation object holds the value January and is connected to 3 separate Result arrows:

  1. Result arrow with the Value parameter set to December which points to Task 1.

  2. Result arrow with the Value parameter set to February which points to Task 2.

  3. Result arrow that points to Task 3 which is set to the parameter All other values (titled Default).

 At runtime, since there are no matching results, the workflow proceeds to the object followed by the Result arrow set to All other values and runs Task 3.

 

SAMPLE 5 - "And" Condition

You can also add multiple Evaluation objects per branch to create an "AND" condition. For example, in this example, a rule is created whereby the workflow runs Task1 only if both Evaluation1 and Evaluation2 results to TRUE.

Additional Notes

There are some basic practices to follow when using arrows to link from one object to another:

p Back to Top