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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

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

PradeepShinde
1-Visitor

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

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

Hi

there's an example here

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

regards

Announcements


Top Tags