Workflow Activity - Multiple Roles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Workflow Activity - Multiple Roles
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.
- Labels:
-
General Customization
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
