<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to get the List of pbo attributes in an Email Notification? in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-get-the-List-of-pbo-attributes-in-an-Email-Notification/m-p/86136#M7649</link>
    <description>&lt;P&gt;Mahesh,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don’t know which POB you are using for workflow (Document Part Promotion Request or Change object).&lt;/P&gt;
&lt;P&gt;Use below steps&lt;/P&gt;
&lt;OL style="list-style-type: decimal;"&gt;
&lt;LI&gt;Create workflow variable for example String colour;&lt;/LI&gt;
&lt;LI&gt;In expression robot get the value of colour attribute from PBO use PersistableAdapter API &lt;A href="https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS135663" target="_blank"&gt;https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS135663&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Use color attribute in email robot. i.e. in subject and in body&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;IMG style="height: 339px; width: 620px;" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/101929_email.jpg" border="0" alt="email.jpg" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However if it is Change object then i would sugest to create summary report (ECN / ECR ) in workflow using customer helper class and send it to user as an attachment&amp;nbsp; see this&amp;nbsp; link for sample&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.ptc.com/t5/Windchill/How-can-send-Email-attachments-through-code-with-API-wt-mail/m-p/23634#415295" target="_blank"&gt;https://community.ptc.com/t5/Windchill/How-can-send-Email-attachments-through-code-with-API-wt-mail/m-p/23634#415295&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it helps!!!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Shreyas&lt;/P&gt;</description>
    <pubDate>Thu, 01 Apr 2021 03:24:01 GMT</pubDate>
    <dc:creator>satre-2</dc:creator>
    <dc:date>2021-04-01T03:24:01Z</dc:date>
    <item>
      <title>How to get the List of pbo attributes in an Email Notification?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-get-the-List-of-pbo-attributes-in-an-Email-Notification/m-p/86135#M7648</link>
      <description>Hi Gurus,I am using Windchill 10.2 M030 CPS5, I need to get the list of attributes in a email notification of that particular PBO, There is a workflow associated to it. I need to send a mail to Users with List of Attributes in Email Body and Some Attributes in Subject As well.Thanks</description>
      <pubDate>Fri, 15 Mar 2024 15:04:05 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-get-the-List-of-pbo-attributes-in-an-Email-Notification/m-p/86135#M7648</guid>
      <dc:creator>maheshkumar</dc:creator>
      <dc:date>2024-03-15T15:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the List of pbo attributes in an Email Notification?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-get-the-List-of-pbo-attributes-in-an-Email-Notification/m-p/86136#M7649</link>
      <description>&lt;P&gt;Mahesh,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don’t know which POB you are using for workflow (Document Part Promotion Request or Change object).&lt;/P&gt;
&lt;P&gt;Use below steps&lt;/P&gt;
&lt;OL style="list-style-type: decimal;"&gt;
&lt;LI&gt;Create workflow variable for example String colour;&lt;/LI&gt;
&lt;LI&gt;In expression robot get the value of colour attribute from PBO use PersistableAdapter API &lt;A href="https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS135663" target="_blank"&gt;https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS135663&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Use color attribute in email robot. i.e. in subject and in body&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;IMG style="height: 339px; width: 620px;" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/101929_email.jpg" border="0" alt="email.jpg" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However if it is Change object then i would sugest to create summary report (ECN / ECR ) in workflow using customer helper class and send it to user as an attachment&amp;nbsp; see this&amp;nbsp; link for sample&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.ptc.com/t5/Windchill/How-can-send-Email-attachments-through-code-with-API-wt-mail/m-p/23634#415295" target="_blank"&gt;https://community.ptc.com/t5/Windchill/How-can-send-Email-attachments-through-code-with-API-wt-mail/m-p/23634#415295&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it helps!!!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Shreyas&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 03:24:01 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-get-the-List-of-pbo-attributes-in-an-Email-Notification/m-p/86136#M7649</guid>
      <dc:creator>satre-2</dc:creator>
      <dc:date>2021-04-01T03:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the List of pbo attributes in an Email Notification?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-get-the-List-of-pbo-attributes-in-an-Email-Notification/m-p/86137#M7650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shreyas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your information. I am using WTDocument as PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try the above CS Doc and let you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Best Regards,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 09:04:14 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-get-the-List-of-pbo-attributes-in-an-Email-Notification/m-p/86137#M7650</guid>
      <dc:creator>maheshkumar</dc:creator>
      <dc:date>2016-05-23T09:04:14Z</dc:date>
    </item>
  </channel>
</rss>

