I want to add a new button to a workflow task edit form. I want to call this button "Incomplete". The purpose of this button is to mark an item as incomplete instead of rejecting it. If the task item is marked as "incomplete" then the user can get an e-mail to edit the form and resubmit it again to kick off a workflow. Where as rejecting it would just stop everything.
The button was added along with the approve, reject buttons under the task outcomes section. See below:
This button works great. I can see it on the task edit form.
The issue is in the workflow. How do I know what button the user clicked when the task completes? The workflow only handles cases where you either approve or reject the task. See below:
When the task completes I want to see if the user clicked "Incomplete" and if so set the WidgetApprovalStatus="Incomplete".