<?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: formProperty variable, how do you pass a execution variable. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/formproperty-variable-how-do-you-pass-a-execution-variable/m-p/77173#M51002</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you. Yes it worked for me as well. But I still have an issue, Because I had actually simplified my case to post here before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Some of my process variables are my domain objects. And in the user form, I refer the attributes as domain.attr1, domain.attr2 (I know domain object has already values in attr1 and attr2) the form fields don't show the values.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Nov 2011 01:50:07 GMT</pubDate>
    <dc:creator>cirerenat</dc:creator>
    <dc:date>2011-11-11T01:50:07Z</dc:date>
    <item>
      <title>formProperty variable, how do you pass a execution variable.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/formproperty-variable-how-do-you-pass-a-execution-variable/m-p/77170#M50999</link>
      <description>Is it possible to pass a value to formProperty from a variable (and vice versa, that is assigning whatever the value entered in the user task to a execution variable).I have this flow. It has a Script Task and followed by a User Task. In the script task (groovy) I have thismyName = "Test Name";execu</description>
      <pubDate>Wed, 02 Nov 2011 19:56:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/formproperty-variable-how-do-you-pass-a-execution-variable/m-p/77170#M50999</guid>
      <dc:creator>cirerenat</dc:creator>
      <dc:date>2011-11-02T19:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: formProperty variable, how do you pass a execution variable.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/formproperty-variable-how-do-you-pass-a-execution-variable/m-p/77171#M51000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have exactly the same problem… Is there a solution available?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 16:11:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/formproperty-variable-how-do-you-pass-a-execution-variable/m-p/77171#M51000</guid>
      <dc:creator>krigu</dc:creator>
      <dc:date>2011-11-07T16:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: formProperty variable, how do you pass a execution variable.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/formproperty-variable-how-do-you-pass-a-execution-variable/m-p/77172#M51001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;CODE&gt; &amp;lt;activiti:formProperty id="name" name="Name" variable="${myName}" required="true" readable="true" writable="true"&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;After i removed the $ and the brackets it worked.. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt; &amp;lt;activiti:formProperty id="name" name="Name" variable="myVarName" required="true" readable="true" writable="true"&amp;gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 16:52:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/formproperty-variable-how-do-you-pass-a-execution-variable/m-p/77172#M51001</guid>
      <dc:creator>krigu</dc:creator>
      <dc:date>2011-11-07T16:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: formProperty variable, how do you pass a execution variable.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/formproperty-variable-how-do-you-pass-a-execution-variable/m-p/77173#M51002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you. Yes it worked for me as well. But I still have an issue, Because I had actually simplified my case to post here before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Some of my process variables are my domain objects. And in the user form, I refer the attributes as domain.attr1, domain.attr2 (I know domain object has already values in attr1 and attr2) the form fields don't show the values.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 01:50:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/formproperty-variable-how-do-you-pass-a-execution-variable/m-p/77173#M51002</guid>
      <dc:creator>cirerenat</dc:creator>
      <dc:date>2011-11-11T01:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: formProperty variable, how do you pass a execution variable.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/formproperty-variable-how-do-you-pass-a-execution-variable/m-p/77174#M51003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For domain objects / Java objects you can use the expression attribute.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Nov 2011 11:04:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/formproperty-variable-how-do-you-pass-a-execution-variable/m-p/77174#M51003</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-11-12T11:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: formProperty variable, how do you pass a execution variable.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/formproperty-variable-how-do-you-pass-a-execution-variable/m-p/77175#M51004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So it is a one-way binding then ? That's the form would display the value from the variable or expression when it is displayed, but what about when the user overrides these values, how would that work with an expression.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have a good example to show using variables and expressions with domain objects?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Say I have a Person object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My activiti flow starts with a groovy script task&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;import com.domain.Person;&lt;BR /&gt;Person person = new Person();&lt;BR /&gt;person.setName("Person Name");&lt;BR /&gt;// Or person.name = "Person Name"&lt;BR /&gt;execution.setVariable("person", person );&lt;BR /&gt;myName = "Test Name";&lt;BR /&gt;execution.setVariable("myName",myName);&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;The groovy task followed by a UserTask, in that, the form fields are defined like below&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;Id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value/Expression&lt;BR /&gt;pname1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; person.name&lt;BR /&gt;pname2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ${person.name}&lt;BR /&gt;mname&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myName&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Now when I run this,&amp;nbsp; In the form I see Name3 is shown as "Test Name". But Name1 and Name2 is blank. I am expecting to see "Person Name" in Name2 or Name1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, should I post this to Activiti Explorer forum maybe?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 01:21:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/formproperty-variable-how-do-you-pass-a-execution-variable/m-p/77175#M51004</guid>
      <dc:creator>cirerenat</dc:creator>
      <dc:date>2011-11-15T01:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: formProperty variable, how do you pass a execution variable.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/formproperty-variable-how-do-you-pass-a-execution-variable/m-p/77176#M51005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No it's a two-way binding actually.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you try and use #{person.name} in the expression field?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 08:35:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/formproperty-variable-how-do-you-pass-a-execution-variable/m-p/77176#M51005</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-11-15T08:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: formProperty variable, how do you pass a execution variable.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/formproperty-variable-how-do-you-pass-a-execution-variable/m-p/77177#M51006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes that notation worked; #{person.name} &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt; Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 16:04:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/formproperty-variable-how-do-you-pass-a-execution-variable/m-p/77177#M51006</guid>
      <dc:creator>cirerenat</dc:creator>
      <dc:date>2011-11-16T16:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: formProperty variable, how do you pass a execution variable.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/formproperty-variable-how-do-you-pass-a-execution-variable/m-p/77178#M51007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A follow-up question. Is it possible to define the form fields wider. I don't see a property in the activiti designer to control that, if the value of #{person.name} is pretty long, I want to define the form fields wider than the default.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 23:37:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/formproperty-variable-how-do-you-pass-a-execution-variable/m-p/77178#M51007</guid>
      <dc:creator>cirerenat</dc:creator>
      <dc:date>2011-11-16T23:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: formProperty variable, how do you pass a execution variable.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/formproperty-variable-how-do-you-pass-a-execution-variable/m-p/77179#M51008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;No it's a two-way binding actually.&lt;BR /&gt;Could you try and use #{person.name} in the expression field?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you explain in detail what's the difference between ${} and #{}, please? I'm not able to understand it starting either from user guide or from my real use-case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I try ${myvar} in mail task and it worked. But in the following usertask's form I try myvar = ${myvar} and it was blank. instead myvar = #{myvar} works as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it due to scope?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;edit: I'm speaking about process/form variable, not JPA/Spring objects&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 15:35:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/formproperty-variable-how-do-you-pass-a-execution-variable/m-p/77179#M51008</guid>
      <dc:creator>elsarfhem</dc:creator>
      <dc:date>2011-11-17T15:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: formProperty variable, how do you pass a execution variable.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/formproperty-variable-how-do-you-pass-a-execution-variable/m-p/77180#M51009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the same question about this, is there somebody have idea? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I read JuelExpression.java and found the ElContext is obtained according to the VariableScope. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And can't found which class is responsible for parsing a expression string, even in the activiti-bpmn-model module.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help or hint.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 09:52:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/formproperty-variable-how-do-you-pass-a-execution-variable/m-p/77180#M51009</guid>
      <dc:creator>chesehng</dc:creator>
      <dc:date>2014-10-29T09:52:29Z</dc:date>
    </item>
  </channel>
</rss>

