Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

mandatoryFields

Status
titleMANDATORY

This parameter is used to set desired variable names from the related

smartform

form as mandatory.

  • request1,request2

  • variablenameX

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

mandatoryFields

request1,request2

...