Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hello,
I have a workflow activity which gets assigned to multiple roles, lets say RoleA and RoleB. My requirement is whenever Rework was selected by any user in RoleA, RoleB's activity should get closed and Rework path must be taken. Only in case of Approval, both roles needs to vote.
Background Information:
i) The activity is of type Any and Required field is selected.
ii) I introduced the WfTally APIs in routing expression, but they do not seem to be executed when one role completes the task.
Regards,
Sha
Solved! Go to Solution.
Hello @lmouchard ,
Thank you for the input, but if I follow the steps mentioned in the article, an activity will be logged in the Task history and will say completed by the system. I did not want that, hence I created separate tasks for every role and designed my workflow in such a way when any role selects Rework, the other tasks will be automatically closed without leaving a trace.
Hello Sha,
Do you a´have a screenshot of the part of the workflow, it would help understanding ?
It seams to be described by PTC here : https://www.ptc.com/en/support/article/CS379205?source=search
Hello @lmouchard ,
Thank you for the input, but if I follow the steps mentioned in the article, an activity will be logged in the Task history and will say completed by the system. I did not want that, hence I created separate tasks for every role and designed my workflow in such a way when any role selects Rework, the other tasks will be automatically closed without leaving a trace.
Hi @Sha11
A transition Complete Task should be run if one user complete own task. A workflow task is not yet completed.
A transition Complete is run if all users complete own tasks so the workflow task is completed.
PetrH