Quantcast
Channel: PTC Community : Discussion List - Windchill
Viewing all articles
Browse latest Browse all 5797

Workflow assignee question

$
0
0

Hello,

 

I have been able to find some pieces of what is needed to implement this change, some questions remain I hope you can help with.

 

We assign a task to a Context Role which has a Group as its members. This assigns a Work Item to each group member and accepts an ANY vote. We would like to capture the participant who completed a task, and replace the current Role participants in the workflow with that individual.

 

Here's what I know:

1. To Capture the participant who completed the Work Item: Task_Complete_User = (wt.org.WTUser)wt.session.SessionMgr.getPrincipal();  from Here

 

 

Here's what I need help on still:

2. How to Remove existing Principal in the Role

3. How to Add Task_Complete_User in to Role


Viewing all articles
Browse latest Browse all 5797

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>