i have a question regarding the rejection of a review Task. In my Workflow a few tasks are performed before there is a Review. If this Review is rejected there should be a condition Task, that asks for rework or rejection. If i decide to rework my Tasks i want the task to be performed again.
My first atempt was to set a failure path like this:
The Problem in this atempt is, that the Status of my previously performed tasks (Task2) remain "Complete" and haven't been resetted after rejection.
So tried to use the EPM-demote-on-reject handler with the task_target "Condition 2".
So now after rejecting the Review the workflow jumps back to "Condition 2" and that Status of the Tasks have been resetted.
My question on this:
Is there a query or a handler that checks, if the condition task has already been performed, so that after a reject it says "True" and goes to my Rework/Reject condtion or if its the first loop of my workflow that it says "false" and continues to "Task 1" ?
Solved! Go to Solution.
I used the following solution to solve my Problem.
I created a Form before the first condition Task with EPM-create-Form and set a property in this Form when the Review is Rejected. After the Demote the condition Task uses a Query to check if the property exists in my created Form. If "True" the Workflow has been rejected at least once and the Workflow continues to the Condition (Rework/Reject).