<?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: expression is not working in formkey in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/expression-is-not-working-in-formkey/m-p/152785#M107409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i have found the problem. i am using a difination method, however i should use a runtime method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Feb 2014 02:06:57 GMT</pubDate>
    <dc:creator>accipiter</dc:creator>
    <dc:date>2014-02-11T02:06:57Z</dc:date>
    <item>
      <title>expression is not working in formkey</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expression-is-not-working-in-formkey/m-p/152781#M107405</link>
      <description>&amp;lt;userTask id="managerApproval" name="manager approval" activiti:assignee="${manager}" activiti:formKey="managerApproval.jsp?manager=${manager}"&amp;gt;&amp;lt;/userTask&amp;gt;manager is a&amp;nbsp; process variable. it works fine as an expression in assignee, but doesn't work for the formKey as the description of AC</description>
      <pubDate>Mon, 10 Feb 2014 03:22:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expression-is-not-working-in-formkey/m-p/152781#M107405</guid>
      <dc:creator>accipiter</dc:creator>
      <dc:date>2014-02-10T03:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: expression is not working in formkey</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expression-is-not-working-in-formkey/m-p/152782#M107406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;this is the bpmn definition&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;userTask id="managerApproval" name="manager approval" activiti:assignee="${manager}" activiti:formKey="managerApproval.jsp?manager=${manager}"&amp;gt;&amp;lt;/userTask&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;manager is a process variable. it works fine as an expression in assignee, but doesn't work for the formKey. it is treated as plain text in formkey&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;as the description of ACT-1015, formkey support expression from version 5.9 and i m working base on version 5.14&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is there anything wrong with what i m doing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 03:36:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expression-is-not-working-in-formkey/m-p/152782#M107406</guid>
      <dc:creator>accipiter</dc:creator>
      <dc:date>2014-02-10T03:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: expression is not working in formkey</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expression-is-not-working-in-formkey/m-p/152783#M107407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I checked the code and it gets resolved. We have unit tests for it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How are you using this process and how are you fetching this form key?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 09:18:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expression-is-not-working-in-formkey/m-p/152783#M107407</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-02-10T09:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: expression is not working in formkey</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expression-is-not-working-in-formkey/m-p/152784#M107408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;this is the code i am using to get the formkey.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String formKey = formService.getTaskFormKey(task.getProcessDefinitionId(), task.getTaskDefinitionKey());&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it give me the value of "managerApproval.jsp?manager=${manager}" with the ${manager} unchanged.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;something else, if i dont define the process variable of manager, it will throw an exception here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so i think something is done here with expression, but it doesn't translate the value for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 10:15:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expression-is-not-working-in-formkey/m-p/152784#M107408</guid>
      <dc:creator>accipiter</dc:creator>
      <dc:date>2014-02-10T10:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: expression is not working in formkey</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expression-is-not-working-in-formkey/m-p/152785#M107409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i have found the problem. i am using a difination method, however i should use a runtime method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 02:06:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expression-is-not-working-in-formkey/m-p/152785#M107409</guid>
      <dc:creator>accipiter</dc:creator>
      <dc:date>2014-02-11T02:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: expression is not working in formkey</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expression-is-not-working-in-formkey/m-p/152786#M107410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you explain that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 15:28:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expression-is-not-working-in-formkey/m-p/152786#M107410</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-02-11T15:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: expression is not working in formkey</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expression-is-not-working-in-formkey/m-p/152787#M107411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;the process variables are only available in a process instance. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i m trying to get the formkey from process defination at before, therefore i get a unexprected result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;however if i get the formkey from the runtime instance, the process variables are available to fill the expression&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;String formKey = formService.getTaskFormData(task.getId()).getFormKey();&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 01:12:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expression-is-not-working-in-formkey/m-p/152787#M107411</guid>
      <dc:creator>accipiter</dc:creator>
      <dc:date>2014-02-12T01:12:13Z</dc:date>
    </item>
  </channel>
</rss>

