Process Builder - Set Up Condition
To specify a condition under which a To Step Name field on the process is enabled while on a From Step Name field, the To Step Enabled Condition and Condition Check When Code fields are used, as shown above.
To Step Enabled Condition
This field is used to enter a condition that controls when the To Step Name field is enabled. A condition is evaluated when the process’s first screen is initially launched, and when specified by the Condition Check When Code field.
The To Step Enabled Condition field can be either of the following two types.
-
EL Expression: An EL expression always references fields on the screen for the From Step Name field.
Example:
#{bindings.CONTROL_EditingAllowed.inputValue eq 'Y'}
-
Database Function: A database function can reference fields on the screen for the From Step Name field as parameters values.
Example:
da.dbk_validation.f_posting_allowed (:CONTROL_CompCode, :CONTROL_BatchNumber);
Condition Check When Code
This field is used to specify when the To Step Enabled Condition field is evaluated.
NOTE: In addition to the below options, the condition for the first step will also always be evaluated when the process is initially launched.
The following are this field’s available options:
-
ACTION: Condition is evaluated after returning from any process flow and/or screen call invoked from the From Step Name field.
-
COMMIT: Condition is evaluated after data is committed in the From Step Name field.
-
ALL: Condition is evaluated after returning to the From Step Name field from any process flow and/or screen call, and after data is committed in the From Step Name field.