| # Workflow Trigger Conditions (tgwfm1110m000) use.session.to define the Workflow trigger conditions. It is not mandatory to define Workflow trigger conditions. Each event that is defined in the Workflow Triggers (tgwfm1100m000) session already executes the trigger at run time. However, you can use conditions to indicate that not all events are valid. For example, notification of a change is only needed if a certain status is reached. You can only start this session from the Workflow Triggers (tgwfm1100m000) session. In this session, you must enter the Table Field field on which the trigger condition is based. You can only select a field from the table that is specified in the Workflow Triggers (tgwfm1100m000) session. In the Operand field, you must define the comparison operator. In the Value field, you must enter a static value for the table field. The table field's contents are compared with the entered value at run time. You must select the Becomes check box if you only want the condition to be valid the first time the entered table field receives the specified value. For example, you only want to trigger a process when a status becomes Approved for the first time and not when changes are made to a record with the Approved status. In the Line Operator field, you must specify the relation between two conditions. You can select the following values: AND: the first and the second condition must both apply. OR: either the first or the second condition must apply. END: the condition is the last condition. Condition Number The sequence number for the trigger condition, which starts with 10 by default. This number indicates the evaluation sequence for the conditions. Table Field The table field on which the trigger condition is based. You can only select a field from the table that is specified in the Workflow Triggers (tgwfm1100m000) session. Operand Use this field to define the comparison operator. You can select the following operators:
Operator | Description
= | The table field must be equal to the specified value.
> | The table field, for example an amount, must be greater than the specified value.
< | The table field, for example an amount, must be smaller than the specified value.
>= | The table field must be greater than or equal to the specified value.
<= | The table field must be smaller than or equal to the specified value.
<> | The table field must not be equal to the specified value.
Value Use this field to enter a static value for the table field. At run time, the table field's contents are compared with the entered value. Becomes Select this check box if you only want the condition to be valid the first time the entered table field receives the specified value. For example, you only want to trigger a process when a status becomes Approved for the first time and not when changes are made to a record with the Approved status. Line Operator Use this field to specify the relation between two conditions. You can select the following values: AND: the first and the second condition must both apply. OR: either the first or the second condition must apply. END: the condition is the last condition. |