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?
Page 1 / 1
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.
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.
You can try below steps,
- Create a variable 'overall task outcome'
- Edit the task form of the Task process
- 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'
- By using above formulae, the variable holds the correct outcome.
- In the worfklow, after the task process action, you can set the list field value with this variable.
The "Set Workflow Status" actions will not count as billable actions in the licensing model, so you should be good there.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.