I have a flexitask to which I have added a More Information outcome in addition to the standard Approve and Reject outcomes. I have set the Reject and More information outcomes to require comment, however I am able to complete the task without adding a comment.
I am using a custom task form, as well, so I decided to put a validation on the Comment to force the requirement with a form rule. But this also is allowing the task to be completed without entering a comment. Any suggestions? Screenshots attached.
Solved! Go to Solution.
Is this on premises? Then the "required" option for comments only works for the default SharePoint task form. So you will have to validate this by using a rule.
In an on premises environment the outcome is not validated by text but by an ID that will be generated by SharePoint.
Do the following:
Now your validation should work fine. Stuff like this only runs in published mode and will somehow not work in preview mode.
Hope this helps.