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

Change Column Value based on Workflow Outcome

I have a workflow that I am using the Start a Task Process in. The workflow is working fine but what I want to do at the end is set the status column based on the outcome of the workflow tasks. Users have the ability to Approve or Reject and all must respond before the workflow ends. What I want to do then, is have a column in my library set to the outcome of the workflow. What am I missing to have this happen?

Labels: (1)
0 Kudos
Reply
4 Replies
Highlighted
Nintex Employee
Nintex Employee

Re: Change Column Value based on Workflow Outcome

Place a 'Set Workflow Status' action under each of the potential outcome branches for the task. Set the text for that action to the value appropriate for the branch. When the 'Set Workflow Status' action is run, it will update the column in the list representing the workflow with the value you set that will be hyperlinked to the workflow history. 

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Change Column Value based on Workflow Outcome

Thanks. I was hoping for a more dynamic way that I could do this in 1 step rather than 2. I am working within the confines of the licensing model and trying to keep my workflow to 5 or fewer steps. If there is not a more dynamic way, I will have to go this route.
0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Change Column Value based on Workflow Outcome

You can try below steps,

  1. Create a variable 'overall task outcome'
  2. Edit the task form of the Task process
  3. Use Calculated Value to compare 'overall task outcome' and the 'taskoutcome' (preexisting field). Like if any of them are Rejected, set the Value to Rejected, else Approved and connect the outcome of it to 'overall task outcome'
  4. By using above formulae, the variable holds the correct outcome.
  5. In the worfklow, after the task process action,  you can set the list field value with this variable.

 

 

0 Kudos
Reply
Highlighted
Nintex Employee
Nintex Employee

Re: Change Column Value based on Workflow Outcome

The "Set Workflow Status" actions will not count as billable actions in the licensing model, so you should be good there. 

0 Kudos
Reply