...
Before completing a task, the MandatoryHandler checks if all mandatory fields of the respective smartform form are filled in.
If the mandatory fields are not filled completely, the handler prevents the task from completing. Subsequently, the user is informed to fill in the mandatory fields. The mandatory fields are specified in the field mandatoryFields
.
...
Code Block |
---|
com.dooris.bpm.actionhandler.MandatoryHandler |
Parameter
Parameter name | Default value | Description | Example | |||
---|---|---|---|---|---|---|
| This parameter is used to set desired variable names from the related |
form as mandatory. |
|
Example:
In this example, MandatoryHandler has been added to the ‘Fill and Submit Request’ node. Smartform Form is connected to this workflow, and desired mandatory field names from the smartform form are set as a parameter in the actionhandler settings. The process flow will give an error when ‘Save and Complete’ is clicked without filling out the required field or fields.
Parameter name | Example |
---|---|
|
|
...