This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:software:tim:actionhandler:conditionalmandatoryhandler [2015/10/28 15:01] melanie.yesilcay [Example] |
en:software:tim:actionhandler:conditionalmandatoryhandler [2021/07/01 09:52] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
=======ConditionalMandatoryHandler======== | =======ConditionalMandatoryHandler======== | ||
==== Description ==== | ==== Description ==== | ||
- | 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). | + | Before completing a task, the Conditional Mandatory Handler checks if all mandatory fields that are dependent on other fields in the corresponding 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). |
------ | ------ | ||
- | ==== Class ==== | + | ==== Action Class ==== |
<code> | <code> | ||
com.dooris.bpm.actionhandler.ConditionalMandatoryHandler | com.dooris.bpm.actionhandler.ConditionalMandatoryHandler | ||
Line 17: | Line 17: | ||
==== Mandatory Fields ==== | ==== Mandatory Fields ==== | ||
- | ID_of_Smartform_Field,ID_of_next_Smartform_Field,… (IMPORTANT: no whitespace between “,” and the ID!) | + | ID_of_Smartform_Field,ID_of_next_Smartform_Field,… (IMPORTANT: no blank space between “,” and the ID!) |
==== Parameter ==== | ==== Parameter ==== |