Skip to main content

Simple evaluation

Description

Simple Evaluation tests the value of a variable or a field from the result stream against a success condition to control process flow. Use this process entry when you need to make branching decisions based on runtime values — for example, checking whether a status variable is set to "OK", verifying that an error count is zero, or testing whether a filename field contains an expected value. If the result stream has multiple rows, only the first row is evaluated.

Configurations

Field NameDescription
Process Entry nameSpecify a unique name for the process entry, on the workspace area. A process entry can be placed on the canvas several times; and each instance of the entry must have a unique name.
EvaluateSelect this to evaluate a ‘variable set before’ or ‘Field from previous result’.
Source:
EvaluateChoose ‘variable set before’.
Variable nameEnter the variable name using the usual syntax
TypeThe type of your variable
Success On:
Success when variable setWhen this option is selected, the true path is followed when the variable is set.

Note: The process entry checks if the variable is defined, so an empty or null value is also true. When testing this within Process Studio you need to delete the line with the variable in the variables section of the Execute a process window. And remember: Once this variable is set, the variable keeps existing, even when deleting it from the list.

Success conditionSelect the condition to be met for a successful result.
ValueValue to compare the variable to.
Source:
EvaluateField from previous result
Field nameEnter the field name from the result row
TypeThe type of your field
Success On:
Success conditionSelect the condition to be met for a successful result (Equal/Non equal/etc.)
ValueValue to compare the field to