<?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: add additional variable in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/add-additional-variable/m-p/125468#M88319</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you now it's working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The version was wrong.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Feb 2013 06:01:30 GMT</pubDate>
    <dc:creator>tomi87</dc:creator>
    <dc:date>2013-02-05T06:01:30Z</dc:date>
    <item>
      <title>add additional variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-additional-variable/m-p/125460#M88311</link>
      <description>Hello,I'm playing right now a little bit with the loanrequest.bpmn20.xmlMy question is now, is it possible to add a new variable to my object ?At first their are some variable which are created: &amp;lt;startEvent id="theStart"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;extensionElements&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="name</description>
      <pubDate>Thu, 31 Jan 2013 09:44:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-additional-variable/m-p/125460#M88311</guid>
      <dc:creator>tomi87</dc:creator>
      <dc:date>2013-01-31T09:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: add additional variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-additional-variable/m-p/125461#M88312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;CODE&gt;expression="#{loanApplication.addName}"&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Does the loanApplcation java-object have a method "setAddName()"? Because that's what the expression's setter will resolve to, when you try to write the value…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 10:29:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-additional-variable/m-p/125461#M88312</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-01-31T10:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: add additional variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-additional-variable/m-p/125462#M88313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you mean the normal getter and setter methods ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 11:21:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-additional-variable/m-p/125462#M88313</guid>
      <dc:creator>tomi87</dc:creator>
      <dc:date>2013-01-31T11:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: add additional variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-additional-variable/m-p/125463#M88314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I do. What exactly are you trying to do? Have the value of the form-property be set, using the loanApplication.setAddName()? Than it should just work. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, what exception are you getting (+ root cause)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 11:54:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-additional-variable/m-p/125463#M88314</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-01-31T11:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: add additional variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-additional-variable/m-p/125464#M88315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to set a variable and then to call it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;lt;startEvent id="start"&amp;gt;&lt;BR /&gt;&amp;lt;extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;activiti:formProperty id="studentName" name="Student name" required="true" type="string" /&amp;gt;&lt;BR /&gt;…..&lt;BR /&gt;&amp;lt;serviceTask id="createRequest" name="Create Request" activiti:class="org.process1.CreateStudentApp"&amp;gt;&amp;lt;/serviceTask&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;userTask id="usertask1" name="usertask 1" activiti:candidateGroups="management"&amp;gt;&lt;BR /&gt; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;activiti:formProperty id="showName" name="Name" expression="${loanApplication.customerName}" writable="false" /&amp;gt;&lt;BR /&gt; &amp;lt;activiti:formProperty id="addingName" name="Add Name" expression="#{loanApplication.addName}" required="true"/&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;userTask id="usertask2" name="usertask 2" activiti:candidateGroups="management"&amp;gt;&lt;BR /&gt; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;activiti:formProperty id="showaddedName" name="Name" expression="${loanApplication.addName}" writable="false" /&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;And you mean instead of:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;activiti:formProperty id="addingName" name="Add Name" expression="#{loanApplication.addName}" required="true"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I should use:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;activiti:formProperty id="addingName" name="Add Name" expression="#{loanApplication.setAddName()}" required="true"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CreateApplicationTask class and LoanApplication class:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;public class CreateApplicationTask implements JavaDelegate {&lt;BR /&gt; public void execute(DelegateExecution execution) {&lt;BR /&gt;&amp;nbsp; LoanApplication la = new LoanApplication();&lt;BR /&gt;&amp;nbsp; la.setCustomerName((String) execution.getVariable("name"));&lt;BR /&gt;&amp;nbsp; execution.setVariable("loanApplication", la);}}&lt;BR /&gt;&lt;BR /&gt;public class LoanApplication implements Serializable {&lt;BR /&gt; private static final long serialVersionUID = 1L;&lt;BR /&gt; private String customerName;&lt;BR /&gt; private String addName;&lt;BR /&gt; &lt;BR /&gt; public String getAddName() {return addName;}&lt;BR /&gt; public void setAddName(String addName) {this.addName = addName;}&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 12:15:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-additional-variable/m-p/125464#M88315</guid>
      <dc:creator>tomi87</dc:creator>
      <dc:date>2013-01-31T12:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: add additional variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-additional-variable/m-p/125465#M88316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm… You should just use "#{loanApplication.addName}", you should only make sure the object has a get/set method. How do you deploy the complied class-file to the activiti-engine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 12:50:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-additional-variable/m-p/125465#M88316</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-01-31T12:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: add additional variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-additional-variable/m-p/125466#M88317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;you should only make sure the object has a get/set method.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;I think thats this or is it not what you mean?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; private String addName;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; public String &lt;/SPAN&gt;&lt;SPAN style="color:#FF0000;"&gt;getAddName&lt;/SPAN&gt;&lt;SPAN&gt;() {return addName;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; public void &lt;/SPAN&gt;&lt;SPAN style="color:#FF0000;"&gt;setAddName&lt;/SPAN&gt;&lt;SPAN&gt;(String addName) {this.addName = addName;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;How do you deploy the complied class-file to the activiti-engine.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;At first I use the build.xml file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;project name="zzloanrequest.setup" default="create.zzloanrequest"&amp;gt;&lt;BR /&gt; &amp;lt;property name="dist.dir" value="./dist" /&amp;gt;&lt;BR /&gt; &amp;lt;target name="dist.rmdir"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;delete dir="${dist.dir}" /&amp;gt; &amp;lt;/target&amp;gt;&lt;BR /&gt; &amp;lt;target name="dist.mkdir" depends="dist.rmdir"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;mkdir dir="${dist.dir}" /&amp;gt; &amp;lt;/target&amp;gt;&lt;BR /&gt; &amp;lt;target name="zzloanrequest.jar" depends="dist.mkdir"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;jar destfile="${dist.dir}/zzloanrequest.jar" basedir="../../../target/classes" includes="org/**" /&amp;gt;&amp;lt;/target&amp;gt;&lt;BR /&gt; &amp;lt;target name="zzloanrequest.bar" depends="dist.mkdir"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;jar destfile="${dist.dir}/zzloanrequest.bar" basedir="."includes="*.bpmn20.xml"/&amp;gt;&amp;lt;/target&amp;gt;&lt;BR /&gt; &amp;lt;target name="create.zzloanrequest" depends="dist.mkdir, zzloanrequest.jar, zzloanrequest.bar"/&amp;gt;&lt;BR /&gt;&amp;lt;/project&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;And then I deploy the .bar file with the Activiti explorer (drag &amp;amp; drop).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 03:35:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-additional-variable/m-p/125466#M88317</guid>
      <dc:creator>tomi87</dc:creator>
      <dc:date>2013-02-01T03:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: add additional variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-additional-variable/m-p/125467#M88318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you check if the built jar-file is indeed the updated version, that is in the tomcat lib or web-inf/lib. Also, do you restart your tomcat after the jar is in place? Because tomcat doesn't reload classes when not restarted.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 08:09:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-additional-variable/m-p/125467#M88318</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-02-01T08:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: add additional variable</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-additional-variable/m-p/125468#M88319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you now it's working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The version was wrong.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 06:01:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-additional-variable/m-p/125468#M88319</guid>
      <dc:creator>tomi87</dc:creator>
      <dc:date>2013-02-05T06:01:30Z</dc:date>
    </item>
  </channel>
</rss>

