cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Windchill 9.1 M060: Workflow, Set up Participant (required participant)

PradeepShinde
1-Newbie

Windchill 9.1 M060: Workflow, Set up Participant (required participant)

Hi Guru's

I have a workflow with a set up participant activity. The roles are resolved correctly.

I want to make sure that the user selects at least one participant before completing the activity. How to achieve this?

Is there a customization to make the participants required?

Regards,

Pradeep Shinde

1 ACCEPTED SOLUTION

Accepted Solutions

Add an expression to the Complete transition of the activity. Throw a WTException if the requirements are not met. You can find most, if not all, of what you need in wt.team.TeamHelper.

View solution in original post

4 REPLIES 4

Add an expression to the Complete transition of the activity. Throw a WTException if the requirements are not met. You can find most, if not all, of what you need in wt.team.TeamHelper.

Is there any way that I can mandate the user to select atleast one participant from each rolse displayed? Can I display an alert message to select atleast on participant from each role.

Hi Pradeep,

I have similar requirement, Did you get the code to check the participant user ?

If so kinly share, I need it badly...

Regards,

Birendrasingh Rawat

GregoryPERASSO
14-Alexandrite
(To:brawat)

Hi

there's an example here

http://communities.ptc.com/message/189800#189800

regards

Top Tags