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

Add the CR title to the notification email.

Aquamarine

Add the CR title to the notification email.

A common complaint from our users is that they cannot tell what the task is related to when they are sent an Approval task email or an overdue email.

2-22-2018 10-16-29 AM.gif

Anyone know how to add the title of the CR in these notifications?

 

 

4 REPLIES 4

Re: Add the CR title to the notification email.

Re: Add the CR title to the notification email.

 Hello,

 

I created a workflow variable named "ecrDescription." This is a String variable. At the beginning of the workflow I created an expression robot that contains the following code:

ecrDescription = ((wt.change2.WTChangeRequest2) primaryBusinessObject).getDescription();

You can just as easily use methods like

getName()

or

getNumber()

Next, you can add this information to your email notification robot by entering the workflow variable name surrounded by curly braces like this:

ecrResolved.PNG

 

In my example this is only shown in the body of the email but it should also work in the subject line. The only downside to this is that you really should use an expression robot before every email notification robot to update your variables. For example, the ECR Description might change between the creation and resolution dates and you don't want to send the outdated information with your email notifications.

Re: Add the CR title to the notification email.

This should be something available out of the box in Windchill!

Re: Add the CR title to the notification email.

@STEVEG 
It is astonishing to me, that it is not a standard feature.  Everywhere I've gone folks add this to their tasks.  Oh well, just not a priority for PTC. 

James