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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Email notifications body is empty on workflows

RG_10753677
10-Marble

Email notifications body is empty on workflows

RG_10753677_0-1695752115697.png

 

 

ACCEPTED SOLUTION

Accepted Solutions

I had few variables, which were set to visible on an activity, and not visible on the other one. That caused a null value, which in-turn wiped out the entire 'body' of the html/email.  

View solution in original post

7 REPLIES 7
Fadel
22-Sapphire II
(To:RG_10753677)

Are using a notify by email robot ?

like below

Fede

No, I am using the 'Send Notification' checkbox in activity.

RG_10753677_0-1695817292546.png

 

Hi @RG_10753677 

It seams that email is checked by some software and adds the bottom description ... "The information transmitied by".... 

I would say that the sw riped out the body for security reason. 

 

If Iam right you need  to contact your IT to solve the issue. 

 

PetrH

Fadel
22-Sapphire II
(To:RG_10753677)

what @HelesicPetr says makes totally sense,if you want to inevtigate from the windchill side anyway

you may enable below logger to TRACE,steps in attached video

wt.mail.EMailMessage

 you should then then see the body sent by windchill in the logs :

Fadel_1-1695885760750.png

 

Fadel_0-1695885683333.png

 

Fede

It is not happening for all emails. Some emails are working fine, some don't. 

the logs for the email that works, you can see the html

2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - Content-Transfer-Encoding: quoted-printable
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - 
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <html>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <!-- bcwti
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin -   --
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin -   -- Copyright (c) 1997, 1998 Windchill Technology, Inc.  All Rights Reserv=
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - ed.
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin -   --
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin -   -- This software is the confidential and proprietary information of
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin -   -- Windchill Technology.  You shall not disclose such confidential inform=
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - ation
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin -   -- and shall use it only in accordance with the terms of the license
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin -   -- agreement you entered into with Windchill Technology.
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin -   --
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin -   -- ecwti
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin -   -->
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <!--   ECR-00220
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - 
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin -   RG Test CR 9.28.1
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin -  -->
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin -  =20
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <head>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin -      <STYLE TYPE=3D"text/css">
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <!--
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - B,P,FONT,H1,H2 {font-family:Arial, Helvetica, Geneva, Swiss, SunSans-Regula=
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - r quotes=3Dnone</SCRIPT> }
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - ..tableTabNSel           {  background-color: #DDDDDD; font-style: arial, he=
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - lvetica; font-size: .9em; font-weight: bold;}
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - ..tableRowSel            {  background-color: #EEEEEE; font-style: arial, he=
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - lvetica; font-size: .9em;}
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - ..tableWfHeader          {  background-color: #EEEEEE; font-style: arial, he=
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - lvetica; font-size: .9em; }
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - ..propTitle              {  font-size: 1em; font-weight: bold; color: #00000=
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - 0;}
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - ..objectTitle            {  font-size: 1em; font-family: sans-serif;}
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - ..propValue              {  font-size: 1em; color: #000000; }
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - -->
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - </STYLE>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - 
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - </head>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - 
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <body>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - 
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <font face=3D"Arial, Helvetica, sans-serif">
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - You have been assigned a <A HREF=3D"https://windchill-dev.xyz.com/Windc=
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - hill/app/#ptc1/tcomp/infoPage?oid=3DOR%3Awt.workflow.work.WorkItem%3A164472=
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - 15&u8=3D1">Task: Component Verification </A>.
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - 
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - </font>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - 
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <table border=3D"0" cellpadding=3D"3" cellspacing=3D"0">
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <tr><td align=3D"right" valign=3D"top" nowrap >
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - &nbsp;
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - </td><tr>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <tr><td align=3D"right" valign=3D"top" nowrap class=3D"propTitle">
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - Instructions:&nbsp;
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - </td>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <td colspan=3D"4" align=3D"left" valign=3D"top" class=3D"propValue">
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - ECR Number: ECR-00220
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <br/>ECR Description: RG Test CR 9.28.1
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <br/>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <br/>Things to do:
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <br/>&nbsp; a. Please review the ECR.
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <br/>&nbsp; b. Reassign to the appropriate owner, if required.
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <br/>&nbsp; c. Perform component verification activity.
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <br/>&nbsp; d. Attach results of component verification activity to the ECR=
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - ..
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <br/>&nbsp; e. Select passed or failed based on the results.
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <br/>&nbsp; f. If component verification is not needed for this ECR, please=
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin -  select =E2=80=98Not Applicable=E2=80=99 and also provide the reason in com=
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - ments section.
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - </td><tr>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <tr><td align=3D"right" valign=3D"top" nowrap class=3D"propTitle">
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - Process Initiator:&nbsp;
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - </td>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <td align=3D"left" valign=3D"top" class=3D"propValue">
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - Rachana Gurram
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - </td>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <td align=3D"right" valign=3D"top" nowrap class=3D"propTitle">
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - &nbsp;&nbsp;&nbsp;Priority:&nbsp;
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - </td>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <td align=3D"left" valign=3D"top" class=3D"propValue">
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - Highest
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - </td></tr>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <tr><td align=3D"right" valign=3D"top" nowrap class=3D"propTitle">
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - Assignee:&nbsp;
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - </td>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <td align=3D"left" valign=3D"top" class=3D"propValue">
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - Rachana Gurram
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - </td>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <td align=3D"right" valign=3D"top" nowrap class=3D"propTitle">
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - &nbsp;&nbsp;&nbsp;Due Date:&nbsp;
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - </td>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <td align=3D"left" valign=3D"top" class=3D"propValue">
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - &nbsp;
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - </td></tr>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <tr><td align=3D"right" valign=3D"top" nowrap class=3D"propTitle">
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - Role:&nbsp;
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - </td>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <td align=3D"left" valign=3D"top" class=3D"propValue">
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - Software Engineer
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - </td>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <td align=3D"right" valign=3D"top" nowrap class=3D"propTitle">
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - &nbsp;&nbsp;&nbsp;Process:&nbsp;
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - </td>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <td align=3D"left" valign=3D"top" class=3D"propValue">
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <A href=3D"https://windchill-dev.xyz.com/Windchill/ptc1/process/info?oi=
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - d=3DOR%3Awt.workflow.engine.WfProcess%3A16446970&amp;u8=3D1">xyz Engine=
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - ering Change Request_ECR-00220</A>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - <BR>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - </td></tr>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - </table>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - 
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - 
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - </body>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - </html>
2023-09-28 11:10:49,467 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - .
2023-09-28 11:10:49,545 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - 250 2.0.0 OK <64658578.588.1695917449452@hyleslzwndchdev.xyz.LOCAL> [Hostname=1234567.namprd19.prod.outlook.com]
2023-09-28 11:10:49,545 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - DEBUG SMTP: message successfully delivered to mail server
2023-09-28 11:10:49,545 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - QUIT


whereas, for the email that the body was empty, you can see in the logs there is no html.

2023-09-28 11:11:03,222 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - Content-Transfer-Encoding: 7bit
2023-09-28 11:11:03,222 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - 
2023-09-28 11:11:03,222 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - .
2023-09-28 11:11:03,300 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - 250 2.0.0 OK <796252988.589.1695917463222@hyleslzwndchdev.xyz.LOCAL> [Hostname=123456789.namprd19.prod.outlook.com]
2023-09-28 11:11:03,300 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - DEBUG SMTP: message successfully delivered to mail server
2023-09-28 11:11:03,300 INFO  [EMailQueue.SchedulingThread] wt.system.out wcadmin - QUIT

 

Fadel
22-Sapphire II
(To:RG_10753677)

would you let me know about your windchill version

Fede

I had few variables, which were set to visible on an activity, and not visible on the other one. That caused a null value, which in-turn wiped out the entire 'body' of the html/email.  

Announcements

Top Tags