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

We are happy to announce the new Windchill Customization board! Learn more.

Task reassignment notification in email robot

JenniferKnieper
8-Gravel

Task reassignment notification in email robot

Does anyone know of away if a task is reassinged and email robot at the end of the process will send an email to the new assignee and original assignee of the task.


I opened a call with PTC hereis the response- Notification robot will send an email to the original assignee. Because whenever we reassign the task, assignee only gets the rights to complete the task, however, he does not get added to the team role of that process.

So OOTB it would not possible. Suggested customer to file an enhancement request ( I created an enhancement request, but haven't heard anything).


Any ideas would be helpful.


Thanks,


jenn

1 REPLY 1

Assuming that the task gets assigned to no more than 1 user at a time, and
has an "Any" setting for completing the task, then you can use a WTUser
process and activity variable in the Complete transition of the activity
to capture the person who hits Task Complete. Prior to the task starting,
you can also capture the initial assignee using a different variaable.

Once you have both the initial and final assignee, then you can compare
the two values after the task completes. If they are different, use an
e-mail robot that goes to both user variables. If they are the same, use
an e-mail robot that goes to the initial assignee variable.

Code in the Complete transition of an activity to get the user who clicked
task complete looks like this.

// Complete Transition where WTUser Task_Complete_User is defined at the
process level, and copied into and out of the activity in the workflow
template
Task_Complete_User = (wt.org.WTUser)wt.session.SessionMgr.getPrincipal();

Capturing the initial assignee might involve some different code, but
shouldn't be too dificult to figure out.

Al Anderson







Jennifer Knieper <->
09/29/2011 10:22 AM
Please respond to
Jennifer Knieper <->


To
-
cc

Subject
[solutions] - Task reassignment notification in email robot




Caterpillar: Confidential Green Retain Until: 10/29/2011



Does anyone know of away if a task is reassinged and email robot at the
end of the process will send an email to the new assignee and original
assignee of the task.
I opened a call with PTC here is the response - Notification robot will
send an email to the original assignee. Because whenever we reassign the
task, assignee only gets the rights to complete the task, however, he does
not get added to the team role of that process.

So OOTB it would not possible. Suggested customer to file an enhancement
request ( I created an enhancement request, but haven't heard anything).
Any ideas would be helpful.
Thanks,
jenn

Site Links: View post online View mailing list online Send new post
via email Unsubscribe from this mailing list Manage your subscription
Use of this email content is governed by the terms of service at:
Top Tags