<?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: Process variables xml only in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/process-variables-xml-only/m-p/55692#M33515</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The execution object should be usable just there. I can't find an example in your posts where I can see the exact expression you are using to try inject the execution…&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Thank you for your answer. I understand now how to pass the execution object. The "real" question for us is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What can we do to name the result variable of an service as an editor?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=2401" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=2401&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Michael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Sep 2011 13:24:18 GMT</pubDate>
    <dc:creator>mhw</dc:creator>
    <dc:date>2011-09-15T13:24:18Z</dc:date>
    <item>
      <title>Process variables xml only</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-variables-xml-only/m-p/55686#M33509</link>
      <description>Hi,I am working on replacing our proprietary engine, which is configured by xml only. There I need a call to a java service. Then the result should be evaluated to continue.I tried the following:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; variables.put("ServiceDelegate", new ServiceDelegate());‍‍&amp;lt;serviceTask id="javaService" name="R</description>
      <pubDate>Tue, 13 Sep 2011 08:54:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-variables-xml-only/m-p/55686#M33509</guid>
      <dc:creator>mhw</dc:creator>
      <dc:date>2011-09-13T08:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Process variables xml only</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-variables-xml-only/m-p/55687#M33510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;the expression language used is JUEL which is mentioned in the docs: &lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/index.html#apiExpressions" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/index.html#apiExpressions&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 09:09:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-variables-xml-only/m-p/55687#M33510</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-09-13T09:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Process variables xml only</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-variables-xml-only/m-p/55688#M33511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;the expression language used is JUEL which is mentioned in the docs: &lt;A href="http://www.activiti.org/userguide/index.html#apiExpressions" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/index.html#apiExpressions&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Ok, yes. Thanks for the answer. From the EE6 spec I cannot answer this questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) The example in the user guide is: ${myBean.doSomething(myVar, execution)}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; so for my case I try: activiti:expression="${ServiceDelegate.execute(execution)}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; This leads to a null pointer because the execution is null. Why is this? How can I pass the execution?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) I have activiti:resultVariable="voltage"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Why this fails:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;{voltage == 12.1}&amp;lt;/conditionExpression&amp;gt;&lt;/CODE&gt;&lt;SPAN&gt;with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;org.activiti.engine.ActivitiException: condition expression returns non-Boolean: {voltage == 12.1} (java.lang.String)&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;regards, Michael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 09:19:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-variables-xml-only/m-p/55688#M33511</guid>
      <dc:creator>mhw</dc:creator>
      <dc:date>2011-09-13T09:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Process variables xml only</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-variables-xml-only/m-p/55689#M33512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I assume you have tried things like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- surrounding strings with single quotes (if they are strings)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- correcting the expression so that it is a valid expression that requires some evaluation instead of being interpreted as a string (as the error mentions)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Tried setting the debug level of activiti to a higher level and see what actually takes place?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;option 2 is the solution btw&amp;nbsp; I think.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 10:18:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-variables-xml-only/m-p/55689#M33512</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-09-13T10:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Process variables xml only</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-variables-xml-only/m-p/55690#M33513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;…&lt;BR /&gt;- correcting the expression so that it is a valid expression that requires some evaluation instead of being interpreted as a string (as the error mentions)&lt;BR /&gt;- Tried setting the debug level of activiti to a higher level and see what actually takes place?&lt;BR /&gt;&lt;BR /&gt;option 2 is the solution btw&amp;nbsp; I think.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you. You are right, I accidentally deleted the "$"-sign. Now the expression gets evaluated. The return value is used. Fine. For anybody interested, here is the spec of JULE(was not easy to find):&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://download.oracle.com/otndocs/jcp/expression_language-2.2-mrel-oth-JSpec/" rel="nofollow noopener noreferrer"&gt;http://download.oracle.com/otndocs/jcp/expression_language-2.2-mrel-oth-JSpec/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am still stuck with my first question: How is the execution object passed? How can I read this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;lt;activiti:field name="serviceName"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:string&amp;gt;READ_VOLTAGE&amp;lt;/activiti:string&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/activiti:field&amp;gt;&lt;/CODE&gt;&lt;SPAN&gt;in my service?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards, Michael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 10:44:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-variables-xml-only/m-p/55690#M33513</guid>
      <dc:creator>mhw</dc:creator>
      <dc:date>2011-09-13T10:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Process variables xml only</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-variables-xml-only/m-p/55691#M33514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The execution object should be usable just there. I can't find an example in your posts where I can see the exact expression you are using to try inject the execution…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 13:11:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-variables-xml-only/m-p/55691#M33514</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-09-15T13:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Process variables xml only</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-variables-xml-only/m-p/55692#M33515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The execution object should be usable just there. I can't find an example in your posts where I can see the exact expression you are using to try inject the execution…&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Thank you for your answer. I understand now how to pass the execution object. The "real" question for us is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What can we do to name the result variable of an service as an editor?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=2401" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=2401&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Michael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 13:24:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-variables-xml-only/m-p/55692#M33515</guid>
      <dc:creator>mhw</dc:creator>
      <dc:date>2011-09-15T13:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Process variables xml only</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-variables-xml-only/m-p/55693#M33516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;please use now topics for new questions&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 16:17:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-variables-xml-only/m-p/55693#M33516</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-09-15T16:17:53Z</dc:date>
    </item>
  </channel>
</rss>

