Process |
In SE Process, the user can customize formulas to determine the duration of an activity, determine the dynamic executor and determine the process route:
Determine the duration of the activity via formulaIn SE Process, the user can determine the duration of the process activity using a formula. To do that, the user should create a rule in the activity data. The following image shows the data screen. To determine the dynamic duration, the user should use DEFINE_ACTIVITY_DURATION formula.
Define activity executor via formulaThe user can define the activity executor through a formula. The value to define the executor can come from a field of form that has been filled in a previous activity, as well as the process attributes, etc. The following image shows the place to create the formula, that is, in the configuration of the activity execution. The function to define the executor is called DEFINE_EXECUTOR.
Define process route with formulaTo define a process route with formulas, the user should use XOR or COMPLEX gateways. In the gateway output flow of the data screen, the user should create the formula. For the process to follow the route of this flow, AND: Checks if the arguments are TRUE must be returned in the formula. The following image displays an example with XOR gateway. The user can use conditions (If/Else) according to the form fields to determine if it should follow a specific path or not. |