Try OpenEdge Now
skip to main content
User's Guide
Setting workstep properties : Defining link properties : For process models
 

For process models

You can now assign a condition to a link in the process template diagram. In previous releases, you could assign a condition only to a link from a Decision gateway. Once you assign a condition to a link that does not have a Decision as a predecessor workstep, the link becomes the equivalent of a Decision gateway.
To define the properties of a standard link in process models:
1. Click the link to view its properties in the Properties view.
2. Assign a name to the link in the Name box and add a label in the Label box of the General tab.
3. To assign a condition to the link, clear the Default checkbox to view the Basic and Advanced settings. By default, the Basic setting is displayed. For information on Advanced settings, see Step 4 below.
4. Use the features of the Basic setting to build an expression based on existing conditions.
a. Select a dataslot from the drop-down list on the left (the Basic mode only includes CHARACTER, INTEGER, INT64, LOGICAL, and DATETIME-TZ dataslot types; the Advanced mode includes all data types). Select an operator from the adjacent drop-down list. Operator values change, depending on the dataslot type: For example, a CHARACTER dataslot displays more options than a INTEGER dataslot.
If you want to evaluate a Null value for a CHARACTER dataslot, then you only need to select ‘is null’ from the Operator drop-down list.
b. Select a dataslot from the drop-down list on the right, or select Enter value option to open the Enter Value dialog box, in which you can enter a static value.
c. Click to add another condition, enabling the And/Or operand.
d. Select And or Or and add as many conditional expressions as required.
e. To remove a conditional expression, click .
5. To configure the condition using Advanced settings, select the Advanced option to view a list of dataslots and a Condition text area wherein you can build more complex expressions or to cut and paste expression that have been defined elsewhere.
a. You can enter or paste an expression in the Condition text area, or drag a dataslot from the Dataslot list to add it to the advanced condition.
b. When you add an expression in the Advanced setting, it overwrites all expressions that you created in the Basic setting. Click Validate to verify if the expression is valid.
c. Select Basic option to delete the expressions in the Advanced setting and to return to the Basic setting.
Note: You can enter a description (optional) for the Link in the Description tab. A description can be up to 4095 characters.