Skip to main content
1-Visitor
October 20, 2011
Solved

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

  • October 20, 2011
  • 2 replies
  • 2975 views

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

Best answer by MatthewKnight

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.

2 replies

1-Visitor
October 20, 2011

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.

1-Visitor
November 3, 2011

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.

1-Visitor
October 9, 2012

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
16-Pearl
October 9, 2012

Hi

there's an example here

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

regards