<?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 i can send Attributes values of Problem report sent through Workflow email in Windchill</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill/How-i-can-send-Attributes-values-of-Problem-report-sent-through/m-p/261013#M30885</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vivek, Were the suggestions provided here helpful in moving you along with this issue? Do you have any follow-up questions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 Feb 2016 00:25:47 GMT</pubDate>
    <dc:creator>LoriSood</dc:creator>
    <dc:date>2016-02-27T00:25:47Z</dc:date>
    <item>
      <title>How i can send Attributes values of Problem report sent through Workflow email</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-i-can-send-Attributes-values-of-Problem-report-sent-through/m-p/261008#M30880</link>
      <description>Hi All,My requirement is, to send the list of attribute values related to that Problem report to users through Workflow message.we are using OOTB problem report Workflow.1. created variables&amp;nbsp; like name, category2. add below code to expression robot in workflow,wt.change2.WTChangeIssue</description>
      <pubDate>Wed, 02 May 2018 12:01:16 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-i-can-send-Attributes-values-of-Problem-report-sent-through/m-p/261008#M30880</guid>
      <dc:creator>vuchekar</dc:creator>
      <dc:date>2018-05-02T12:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: How i can send Attributes values of Problem report sent through Workflow email</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-i-can-send-Attributes-values-of-Problem-report-sent-through/m-p/261009#M30881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try LWCNormalizedObject in same package (com.ptc.core.lwc.server).&amp;nbsp; PersistableAdapter replaced LWCNormalizedObject at some point (I think it may have been 10.2), and as far as I know they work the same way. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2015 15:49:53 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-i-can-send-Attributes-values-of-Problem-report-sent-through/m-p/261009#M30881</guid>
      <dc:creator>kpritchard</dc:creator>
      <dc:date>2015-12-24T15:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: How i can send Attributes values of Problem report sent through Workflow email</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-i-can-send-Attributes-values-of-Problem-report-sent-through/m-p/261010#M30882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes it is because windchill version. in Windchill 10.1 LWCNormalizedObject is used instead of PersistableAdapter.&lt;/P&gt;&lt;P&gt;i have corrected this,&lt;/P&gt;&lt;P&gt; but i am getting strange error,&lt;/P&gt;&lt;P&gt;when i added new variables to workflow, and checked in back to windchill.&lt;/P&gt;&lt;P&gt;when i want to checked out it again, its shows me one NOTICE pop up, after that it showing below errors, how i can tackle this.&lt;/P&gt;&lt;P&gt; =====&lt;/P&gt;&lt;P&gt;Malformed URL: "PROCESS TEMPLATE:&lt;/P&gt;&lt;P&gt; name = Custom Test Problem Report Workflow&lt;/P&gt;&lt;P&gt; description = Problem Report creation, analysis, and disposition.&lt;/P&gt;&lt;P&gt; category = CHANGE MANAGEMENT&lt;/P&gt;&lt;P&gt; context signature = [self, wt.fc.ObjectReference, false, false, false, false, LOCAL, null]&lt;/P&gt;&lt;P&gt;[primaryBusinessObject, wt.fc.WTObject, false, true, true, true, INOUT, null]&lt;/P&gt;&lt;P&gt;[reviewDate, java.sql.Timestamp, false, false, true, true, INOUT, null]&lt;/P&gt;&lt;P&gt;[submitDate, java.sql.Timestamp, false, false, true, true, INOUT, null]&lt;/P&gt;&lt;P&gt;[inInitialPhase, boolean, false, false, false, true, INOUT, true]&lt;/P&gt;&lt;P&gt;[CFURNACE, java.lang.String, false, true, true, true, INOUT, ]&lt;/P&gt;&lt;P&gt;[CCATEGORY, java.lang.String, false, true, true, true, INOUT, ]&lt;/P&gt;&lt;P&gt;[CDATE, java.lang.String, false, true, true, true, INOUT, ]&lt;/P&gt;&lt;P&gt;[CDAYSDOWN, java.lang.String, false, true, true, true, INOUT, ]&lt;/P&gt;&lt;P&gt;[CMITIGATION, java.lang.String, false, true, true, true, INOUT, ]&lt;/P&gt;&lt;P&gt;[name, java.lang.String, false, true, true, true, INOUT, ]&lt;/P&gt;&lt;P&gt;[number, java.lang.String, false, true, true, true, INOUT, ]&lt;/P&gt;&lt;P&gt;[category, java.lang.String, false, true, true, true, INOUT, ]&lt;/P&gt;&lt;P&gt; event configuration = 100010000000000000011111010101010&lt;/P&gt;&lt;P&gt; router type = NONE&lt;/P&gt;&lt;P&gt; duration = 0&lt;/P&gt;&lt;P&gt; process duration = 0&lt;/P&gt;&lt;P&gt; start delay = 0&lt;/P&gt;&lt;P&gt; start process delay = 0&lt;/P&gt;&lt;P&gt; responsible role = null&lt;/P&gt;&lt;P&gt; overdue notification list = [null]&lt;/P&gt;&lt;P&gt; user event list = [[]]". Format must be: "classname:idValue" &lt;/P&gt;&lt;P&gt;Nested exception is: java.lang.NumberFormatException: For input string: "&lt;/P&gt;&lt;P&gt; name = Custom Test Problem Report Workflow&lt;/P&gt;&lt;P&gt; description = Problem Report creation, analysis, and disposition.&lt;/P&gt;&lt;P&gt; category = CHANGE MANAGEMENT&lt;/P&gt;&lt;P&gt; context signature = [self, wt.fc.ObjectReference, false, false, false, false, LOCAL, null]&lt;/P&gt;&lt;P&gt;[primaryBusinessObject, wt.fc.WTObject, false, true, true, true, INOUT, null]&lt;/P&gt;&lt;P&gt;[reviewDate, java.sql.Timestamp, false, false, true, true, INOUT, null]&lt;/P&gt;&lt;P&gt;[submitDate, java.sql.Timestamp, false, false, true, true, INOUT, null]&lt;/P&gt;&lt;P&gt;[inInitialPhase, boolean, false, false, false, true, INOUT, true]&lt;/P&gt;&lt;P&gt;[CFURNACE, java.lang.String, false, true, true, true, INOUT, ]&lt;/P&gt;&lt;P&gt;[CCATEGORY, java.lang.String, false, true, true, true, INOUT, ]&lt;/P&gt;&lt;P&gt;[CDATE, java.lang.String, false, true, true, true, INOUT, ]&lt;/P&gt;&lt;P&gt;[CDAYSDOWN, java.lang.String, false, true, true, true, INOUT, ]&lt;/P&gt;&lt;P&gt;[CMITIGATION, java.lang.String, false, true, true, true, INOUT, ]&lt;/P&gt;&lt;P&gt;[name, java.lang.String, false, true, true, true, INOUT, ]&lt;/P&gt;&lt;P&gt;[number, java.lang.String, false, true, true, true, INOUT, ]&lt;/P&gt;&lt;P&gt;[category, java.lang.String, false, true, true, true, INOUT, ]&lt;/P&gt;&lt;P&gt; event configuration = 100010000000000000011111010101010&lt;/P&gt;&lt;P&gt; router type = NONE&lt;/P&gt;&lt;P&gt; duration = 0&lt;/P&gt;&lt;P&gt; process duration = 0&lt;/P&gt;&lt;P&gt; start delay = 0&lt;/P&gt;&lt;P&gt; start process delay = 0&lt;/P&gt;&lt;P&gt; responsible role = null&lt;/P&gt;&lt;P&gt; overdue notification list = [null]&lt;/P&gt;&lt;P&gt; user event list = [[]]"&lt;/P&gt;&lt;P&gt;====&lt;/P&gt;&lt;P&gt;====&lt;/P&gt;&lt;P&gt;(wt.vc.wip.wipResource/4) wt.vc.wip.WorkInProgressException: Test 2812 Problem Report Workflow has no working copy. It must be checked out for a working copy to exist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at wt.method.RemoteMethodServer.invoke(RemoteMethodServer.java:795)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at wt.services.ServiceFactory$ClientInvocationHandler.invoke(ServiceFactory.java:349)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.sun.proxy.$Proxy14.workingCopyOf(Unknown Source)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at wt.clients.workflow.definer.WfTemplateEditorApplet$UpdateThread.run(WfTemplateEditorApplet.java:295)&lt;/P&gt;&lt;P&gt;===&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 10:34:01 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-i-can-send-Attributes-values-of-Problem-report-sent-through/m-p/261010#M30882</guid>
      <dc:creator>vuchekar</dc:creator>
      <dc:date>2015-12-28T10:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: How i can send Attributes values of Problem report sent through Workflow email</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-i-can-send-Attributes-values-of-Problem-report-sent-through/m-p/261011#M30883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the last time I faced a similar error, I had to export the workflow, edit the xml to checked in state and import it back to fix this error. It is worth a try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Binesh Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 21:49:12 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-i-can-send-Attributes-values-of-Problem-report-sent-through/m-p/261011#M30883</guid>
      <dc:creator>BineshKumar1</dc:creator>
      <dc:date>2015-12-28T21:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: How i can send Attributes values of Problem report sent through Workflow email</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-i-can-send-Attributes-values-of-Problem-report-sent-through/m-p/261012#M30884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I actually overhauled all of our change processes to do this for key attributes on every workflow task, at the request of the users &lt;IMG src="https://community.ptc.com/legacyfs/online/emoticons/happy.png" /&gt;. Follow this process for each workflow task you want to do this to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In the user task, go to the Variables tab and create a variable for each and every attribute you want to add to the message.&lt;/LI&gt;&lt;LI&gt;In the Transitions tab go to Start, and in there add code that will set values to those attributes you made in step 1 the very instant the task is started, so they will be ready for the system email.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that these are local variables that will only exist within that task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some of the OOTB attributes for change objects, such as Name and Description, already have simpler pre-built functions for getting their values. For example, if you want to get the Name of a Change Notice you would put in the line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;yourvariable&lt;/EM&gt; = ((wt.change2.WtChangeOrder2)primaryBusinessObject).getName()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Description field is very similar, just replace getName() with getDescription() above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;getName() and getDescription() work for quite a number of objects in the system, just switch wt.change2.WtChangeOrder2 for the object type in question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For custom (a.k.a. Global) attributes or others that you don't really know if they have a custom function or not, there is a code segment that should let you get any attribute on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;com.ptc.core.lwc.server.LWCNormalizedObject obj = new&lt;/P&gt;&lt;P&gt;com.ptc.core.lwc.server.LWCNormalizedObject(primaryBusinessObject,null,null, null);&lt;/P&gt;&lt;P&gt;obj.load("theAttribute");&lt;/P&gt;&lt;P&gt;Object softAttribValue = obj.get("theAttribute");&lt;/P&gt;&lt;P&gt;if (softAttribValue instanceof String) {&lt;/P&gt;&lt;P&gt;&lt;EM&gt;yourvariable&lt;/EM&gt; = (String) softAttribValue;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;yourvariable &lt;/EM&gt;is the variable you defined in step 1 to hold the value, and theAttribute is the internal system name (NOT the Display Name) of the attribute itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And, finally,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. The Instructions section in the Activity tab is the actual body of your message. You use {&lt;EM&gt;yourvariable&lt;/EM&gt;} to set the value of one of your variables in the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 22:52:57 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-i-can-send-Attributes-values-of-Problem-report-sent-through/m-p/261012#M30884</guid>
      <dc:creator>doehr</dc:creator>
      <dc:date>2016-02-19T22:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: How i can send Attributes values of Problem report sent through Workflow email</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-i-can-send-Attributes-values-of-Problem-report-sent-through/m-p/261013#M30885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vivek, Were the suggestions provided here helpful in moving you along with this issue? Do you have any follow-up questions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Feb 2016 00:25:47 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-i-can-send-Attributes-values-of-Problem-report-sent-through/m-p/261013#M30885</guid>
      <dc:creator>LoriSood</dc:creator>
      <dc:date>2016-02-27T00:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: How i can send Attributes values of Problem report sent through Workflow email</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/How-i-can-send-Attributes-values-of-Problem-report-sent-through/m-p/616956#M59672</link>
      <description>&lt;P&gt;Not Really Works this is&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 07:10:49 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/How-i-can-send-Attributes-values-of-Problem-report-sent-through/m-p/616956#M59672</guid>
      <dc:creator>Swapnil4</dc:creator>
      <dc:date>2019-07-08T07:10:49Z</dc:date>
    </item>
  </channel>
</rss>

