cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Workflow Task, Require the Comment to be filled out?

sdrzewiczewski
7-Bedrock

Workflow Task, Require the Comment to be filled out?

Can a Transition be used to ensure that the comment on a default task page is not left blank?

My use case is if somebody Rejects something, I want them to provide a justification, but if they approve it they do not need to provide a justification.

If it can be done, how do you address the comment field on the task page?

Thanks,
Steve D.

3 REPLIES 3

I've done this in 8.0 by creating my own TaskCompleteDelegate class
which processes the results of a Task Complete operation. If no value,
simple throw a WTException with a message. You can also do this with
transitions I believe.


Need to use a workflow variable for the comment (rather than a comment box), then make the variable required.

I think he was looking for a conditional required variable.


Top Tags