This is an old revision of the document!
Before completing a task, the Conditional Mandatory Handler checks if all mandatory fields, as a function of other fields, of the respective smartform are filled in. If the mandatory fields are empty, 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 “Mandatory Fields” (see Example).
com.dooris.bpm.actionhandler.ConditionalMandatoryHandler
Any
Any
ID_of_Smartform_Field,ID_of_next_Smartform_Field,… (IMPORTANT: no whitespace between “,” and the ID!)
the dependence is set here. E.g. condition=“${variableA}==“true”; checks if the variableA has been set. If yes, the variable in the Mandatory Field is mandatory.
Examples:
1.) condition=“${variableB}”>=“100”;
2.) condition=“${variableB}”!=“${variableC}”;
3.) condition=“${variableB}”==“${variableA}”;
4.) condition=”(${count}+1)“==“150”;
5.) condition=“${varibleA}”==“${variableB}&&100>${count}”;
6.) condition=“${varibleA}”==“${variableB}||100>${count}”;