Skip to main content
14-Alexandrite
November 29, 2023
Solved

Workflow Team is populated from context team members?

  • November 29, 2023
  • 3 replies
  • 3026 views

It's been a few years since I had to do look into this.

We have a Change Notice that is a Workflow at the Org level. The OIR calls out the lifecycle and Team Template.

The team template has no uses or groups in the roles (it's at the Org level).

What is happening is that all the Roles in the workflow at the Product context level are being populated with everyone in that same role in the product context team.

I created a new OIR at the Product context and it calls for a new Team Template with just a few people in the roles but it still populated everyone from the Product context team?

If I reset the team it does the same thing - everyone.

What am I missing here?

 

Thanks.

Best answer by LG_10096154

The issue seems to be basic functionality.

The workflow process looks at the Team Template called out on the OIR, that team template calls out Roles and those Roles can have user names in the Roles.

If that same Role is named in the context team then the workflow can pull users from that Role as well. The idea is that the team template can just name the Roles used in the workflow and the context team role can be managed to add users to that Role. 

If there are no users in either the context role or the same team template role then EPDM send the task to admin account. 

 

What we need to do here is to inform the context managers that they should not add users to the workflow roles (like Mfg Engineer)  if they do not have actions for that role and the context managers should place users in roles in the context that are designed for access (like Members or Guest).

3 replies

Fadel
23-Emerald I
November 29, 2023

remove Context Team from activities Resource Pool 

Buiꓘa
14-Alexandrite
November 29, 2023

Interesting, that is how we have the Resource Pool for all our workflows. I just started a Peer Review but with that the user can select the Team Template. So the team roles was empty other than the one person I had added in my test team template. With the CN they cannot select the teamTemplate?

https://www.ptc.com/en/support/article/CS38604

Looks like I would need to edit the OIR to allow the user to select a different Team Template for that context.

 

Fadel
23-Emerald I
November 29, 2023

Good Luck 

Buiꓘa
14-Alexandrite
August 6, 2024

I have posted this question before and still need help.

We have hundreds of product context each with unique users per Role (we don't use Groups in Roles).

Each Product has a Team Template for each change object and sometimes more than one.

What is happening:

When a  change objects is created, the user picks the Team Template. That team template has one or two named users for each Role used in the workflow.

After it is created, the Process tab on the workflow shows not just those users from the Team Template in the Role but all the users from the Context Team for that same Role.

The workflow Process did have a Resource Pool of Context Team but I removed that at the "Open" (create and submit workflow).

When I moved all the users in the context team for a Role (CM) into an Org level group called CM then the process did the same thing but this time showed the Group in the Role for the workflow process and the named users from the Team Template for that role.

14-Alexandrite
August 6, 2024

Could this be the issue? I have Roles in the Lifecycle. But in the "Open" workflow (create/submit) we only call out the submitter for that state on the Lifecycle. We do call out other roles at progressive states but each state has it's own workflow.

 

Default Behavior
The following list illustrates the order in which Windchill tries to resolve each role in a life cycle when the wt.team.re-resolveRoles property is set to the default value:
1. If the life cycle role exists in the team template, the life cycle role is resolved to participants (or the actor for the role), as defined in the team template. All life cycle mapping for that role is overridden by the team values.
2. If the life cycle role does not exist in the team template (that is, rule 1 does not apply), but the life cycle role is mapped to an existing team template role, then the life cycle role is added to the team and resolved to participants, as defined in the team template role.
3. If the life cycle role does not exist in the team template and is not mapped to a role that exists in the team template (that is, rules 1 and 2 do not apply), then the life cycle role is added to the team and resolved to participants, as defined in the life cycle.
4. If the object’s context team contains the role, any participants who play the role in the context team that are not already members of the role in the team are added to the team.
5. All roles that are not defined in the team, but are used in a related workflow process, are added to the team when the workflow process starts.
6. Any roles in the team template that are not used in the life cycle are also added to the team.
The following flow chart illustrates the Windchill business rules for resolving life cycle roles:
LG_10096154_0-1722959415736.png

 

Catalina
Community Moderator
August 12, 2024

Hi @LG_10096154,


I wanted to see if you got the help you needed.


If so, please mark the appropriate reply as the Accepted Solution or please detail what has helped you and mark it as a solution. It will help other members who may have the same question.
Please note that industry experts also review the replies and may eventually accept one of them as solution on your behalf.
Of course, if you have more to share on your issue, please pursue the conversation.

Thanks,

Catalina | PTC Community Moderator
LG_1009615414-AlexandriteAuthorAnswer
14-Alexandrite
August 12, 2024

The issue seems to be basic functionality.

The workflow process looks at the Team Template called out on the OIR, that team template calls out Roles and those Roles can have user names in the Roles.

If that same Role is named in the context team then the workflow can pull users from that Role as well. The idea is that the team template can just name the Roles used in the workflow and the context team role can be managed to add users to that Role. 

If there are no users in either the context role or the same team template role then EPDM send the task to admin account. 

 

What we need to do here is to inform the context managers that they should not add users to the workflow roles (like Mfg Engineer)  if they do not have actions for that role and the context managers should place users in roles in the context that are designed for access (like Members or Guest).