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

How to submit Flexi Task Form without Approve/Reject ?

Hi, I've customised the Task Form of 'Assign Flexi Task' with Nintex Forms and added few custom fields. These custom fields are connected to SharePoint list so that when I submit, these fields are inserted into the list. I've two buttons in the form. Button#1  has to just save the form data into the list. Button#2 will submit the data as well as 'Approve' the task (with out selecting Approve/Reject task outcomes or Decision Radio Buttons. Infact I've removed the Radio Buttons & handling the 'Approve' task with Button#2).

I'm able to do the Button#2 functionality. I got stuck with Button#1 where it just has to insert the data. I could do this with REST API which I want to avoid. With Save & Submit button for Button#1, if I submit the Task Form, the data is getting inserted into the list but the workflow is throwing an error. I guess the Task Form when submitted is expecting an input which should be either Approve/Reject or any other Task Outcome.

Is there a possibility where I can make the Task Outcome (Approve/Reject) optional so that I can submit the Form without any error. And with Button#2 I can Approve/Reject the Task anytime I want and the Workflow moves forward.

Hope I'm clear on my requirement. Is there a better option with Nintex where I can achieve this. And I'm using SharePoint 2010.

Labels: (1)
Reply
4 Replies
Workflow Hero

Re: How to submit Flexi Task Form without Approve/Reject ?

You could have 3 outcomes:

-Send Data

-Approve

-Reject

Then you should loop again to your flexi task until user selects Approve or Reject

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: How to submit Flexi Task Form without Approve/Reject ?

in order task form data gets saved to list you have to submit task form. in order you could submit it successfully you have to select/provide an outcome.

if you do not care about what outcome is selected,  you can configure flexi task so that it accepts single outcome (see 'Do not create branches' in advanced options)

in order to recognize which button caused task form submit you can connect buttons to a workflow variables and define a button return value.

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: How to submit Flexi Task Form without Approve/Reject ?

Hi ‌, have you succeeded with this?

Accept as Solution Reply
Workflow Hero

Re: How to submit Flexi Task Form without Approve/Reject ?

Have you tried using 'Save' button instead of the default 'Save and submit' in the task form?

0 Kudos
Accept as Solution Reply