<?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: Workflow Model Problem in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/workflow-model-problem/m-p/278804#M231934</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem was that I did not place the formKey="jiswf&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rivateMessage" in the userTask element in my workflow definition, I placed it in the startEvent&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you look at this thread:&amp;nbsp; &amp;lt;a&amp;gt;&lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/forum/developer-discussions/workflow/get-workflow-task-12072013-2115" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/forum/developer-discussions/workflow/get-workflow-task-12072013-2115&lt;/A&gt;&lt;SPAN&gt;&amp;lt;/a&amp;gt; You will see what I did wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So in my opinion, the above code should not have worked at all. Im not going to fill out a bug report, because if you do it right, it works fine.&amp;nbsp; It's just weird that it worked at all.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Dec 2013 02:54:45 GMT</pubDate>
    <dc:creator>mangar</dc:creator>
    <dc:date>2013-12-10T02:54:45Z</dc:date>
    <item>
      <title>Workflow Model Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-model-problem/m-p/278800#M231930</link>
      <description>I am new to the workflows and i am trying to do a simple private message workflow.&amp;nbsp; The start task takes a name and a message.&amp;nbsp; The problem is setting the data.&amp;nbsp; When I iterate through the task variables I get this very weird problem:here it the model:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;type name="jiswf&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rivateMessage"&amp;gt;&amp;nbsp;&amp;nbsp;</description>
      <pubDate>Sat, 07 Dec 2013 01:32:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-model-problem/m-p/278800#M231930</guid>
      <dc:creator>mangar</dc:creator>
      <dc:date>2013-12-07T01:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow Model Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-model-problem/m-p/278801#M231931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Under normal circumstances,when you put qname varaiable into workflow varaiable ,alfresco will convert qname to bpm varaiable (replace : {} to _ ,for example convert jiswf:toName to jiswf_toName).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So technically all varaiables&amp;nbsp; can be retrieved using underline format.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Dec 2013 04:38:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-model-problem/m-p/278801#M231931</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2013-12-07T04:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow Model Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-model-problem/m-p/278802#M231932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Under normal circumstances,when you put qname varaiable into workflow varaiable ,alfresco will convert qname to bpm varaiable (replace : {} to _ ,for example convert jiswf:toName to jiswf_toName).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So technically all varaiables&amp;nbsp; can be retrieved using underline format.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Dec 2013 04:42:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-model-problem/m-p/278802#M231932</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2013-12-07T04:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow Model Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-model-problem/m-p/278803#M231933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I understand that. The problem is that it is NOT doing that for the privateMessage variable.&amp;nbsp; When I do this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;String name = (String) task.getVariable("jiswf_toName");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println("To Name:"+name);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;String message = (String) task.getVariable("jiswf&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rivateMessage");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println("Message:"+message);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works fine, but "jiswf_privateMessage" does not. (I get a null) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why does toName have an _ and privateMessage has a :&amp;nbsp; ???&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Dec 2013 14:32:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-model-problem/m-p/278803#M231933</guid>
      <dc:creator>mangar</dc:creator>
      <dc:date>2013-12-07T14:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow Model Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-model-problem/m-p/278804#M231934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem was that I did not place the formKey="jiswf&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rivateMessage" in the userTask element in my workflow definition, I placed it in the startEvent&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you look at this thread:&amp;nbsp; &amp;lt;a&amp;gt;&lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/forum/developer-discussions/workflow/get-workflow-task-12072013-2115" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/forum/developer-discussions/workflow/get-workflow-task-12072013-2115&lt;/A&gt;&lt;SPAN&gt;&amp;lt;/a&amp;gt; You will see what I did wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So in my opinion, the above code should not have worked at all. Im not going to fill out a bug report, because if you do it right, it works fine.&amp;nbsp; It's just weird that it worked at all.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 02:54:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-model-problem/m-p/278804#M231934</guid>
      <dc:creator>mangar</dc:creator>
      <dc:date>2013-12-10T02:54:45Z</dc:date>
    </item>
  </channel>
</rss>

