When a custom model/task is added to a workflow the form no longer validates properly. If a mandatory form field is not filled out and the user clicks "Task Done" the form rejects the submission as expected. But also the "Task Done" button is greyed out. If the mandatory field is completed the "Task Done" button is still greyed out.
Attached is a activiti process def and model.
- Deploy the Model and Task Definition Dynamically
- Start a Defect Demos Acitiviti Process
- Select an assignee
- Click Start Workflow
- Go to the Reivew Task
- Leave the mandatory "Comment" field empty
- Click Task Done
- now enter text in the "Comment" field
Task Done is still grey out after text is entered in the comment field. i.e. the "Task Done" button is still not available.
Once text is entered the "Task Done" should be available.
Click cancel button. Go back into the workflow. Now "Task Done" button is available
Refresh the page and the Task Done Button is available