<?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: Output variables from CallActivity on BoundaryEvent trigger? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81189#M54267</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From Saeid : Based on spec, could you propose a sample xml bpmn doing the job ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Based on the spec, a BoundaryEvent is a CatchEvent and thus has a DataOutput and DataOuputAssociation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I suggest to use something similar to the implementation of the WebserviceTask which also uses dataOutputAssociation. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See an example of such a BPMN file here : &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/master/modules/activiti-cxf/src/test/resources/org/activiti/engine/test/bpmn/servicetask/WebServiceTaskTest.testWebServiceInvocationWithDataFlowXPath.bpmn20.xml" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/master/modules/activiti-cxf/src/test/resources/org/activiti/engine/test/bpmn/servicetask/WebServiceTaskTest.testWebServiceInvocationWithDataFlowXPath.bpmn20.xml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't understand all of it yet, but I think this shares enough features to be used in the implementation of the BoundaryEvent in Activiti.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Nov 2012 16:49:51 GMT</pubDate>
    <dc:creator>mdaviot</dc:creator>
    <dc:date>2012-11-21T16:49:51Z</dc:date>
    <item>
      <title>Output variables from CallActivity on BoundaryEvent trigger?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81181#M54259</link>
      <description>I have a call activity publishing an exit-code variable.&amp;nbsp; The call activity also has a boundary error event associated with it.&amp;nbsp; After triggering the boundary event, I'd like to read the published exit-code variable in the parent process, but tracing the Activiti Engine, it appears that handling the</description>
      <pubDate>Fri, 19 Oct 2012 15:25:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81181#M54259</guid>
      <dc:creator>jonathan1</dc:creator>
      <dc:date>2012-10-19T15:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Output variables from CallActivity on BoundaryEvent trigger?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81182#M54260</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;In my context, I also tried to do this. My interpretation of BPMN execution semantics is it should be possible to attach some date to an Error Event so this should be possible. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is not supported yet by Activiti AFAIK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To circumvent the issue, I defined a pattern from the design model (using sth like Bizagi) to the executable model (done with Activiti) which says to use instead of the Error Boundary Event in this case a return code, mapped in the subprocess call activity, and test it in a gateway right after the subprocess.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Michel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 16:23:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81182#M54260</guid>
      <dc:creator>mdaviot</dc:creator>
      <dc:date>2012-10-19T16:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Output variables from CallActivity on BoundaryEvent trigger?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81183#M54261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I already post a solution to this problem: &lt;/SPAN&gt;&lt;A href="https://jira.codehaus.org/browse/ACT-1411" rel="nofollow noopener noreferrer"&gt;ACT-1411&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 19:43:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81183#M54261</guid>
      <dc:creator>iam</dc:creator>
      <dc:date>2012-10-19T19:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Output variables from CallActivity on BoundaryEvent trigger?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81184#M54262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, iam and mdaviot, for both the pattern reference and upload.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I decided to post the variable to the parent process and wait for another Activiti release to address writing to output variables on boundary events.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 15:03:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81184#M54262</guid>
      <dc:creator>jonathan1</dc:creator>
      <dc:date>2012-10-24T15:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Output variables from CallActivity on BoundaryEvent trigger?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81185#M54263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is part of my comment I wrote ACT-1411&amp;nbsp; &lt;/SPAN&gt;&lt;A href="https://jira.codehaus.org/browse/ACT-1411" rel="nofollow noopener noreferrer"&gt;https://jira.codehaus.org/browse/ACT-1411&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I am not sure, this is what is intended by specification. When an error occurs, it means that you were not able to do the job and output and variables are not valid. You can only send an error code to&amp;nbsp; let the caller know what was the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you need variable data to produce the error code, it might be a good sign that error handling code is not in a good place. Maybe you can move the error processor to the scope of the variables, process variables and throw the error with error code. Something like the figure with the annotation " error handler has access to variables local to the subprocess" in Event Sub-Process section of activiti guide.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 15:00:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81185#M54263</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2012-11-16T15:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Output variables from CallActivity on BoundaryEvent trigger?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81186#M54264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;EM&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Here is also my next reply on the JIRA, I suggest to reopen it if you agree with this suggestion.&lt;BR /&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I agree with what was said before, ie that normal mapping should not occur when an Error Event is thrown in the subprocess.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I also had a deep look at the spec for BPMN :&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.omg.org/spec/BPMN/2.0/" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/BPMN/2.0/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In section 8.3.3, we see that the Error has an ItemDefinition which the same as the one used in figure to define the "payload" of a Message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So my suggestion is to implement in Activiti a way to set for an error event this payload, by using the ItemDefinition class. This way the Error Event can have some data attached to it (same as the variables used for an Start Event message for instance), and this data can be used in the calling parent process to know some context information about the cause of the error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Michel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 16:55:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81186#M54264</guid>
      <dc:creator>mdaviot</dc:creator>
      <dc:date>2012-11-20T16:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Output variables from CallActivity on BoundaryEvent trigger?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81187#M54265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see the point in that. I don't know if itemDefinition is the best way to do it … maybe extending BpmnError is a better way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you need this, please file a Jira issue with a link to this forum post.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 07:59:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81187#M54265</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-11-21T07:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Output variables from CallActivity on BoundaryEvent trigger?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81188#M54266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, I created a new JIRA for that : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://jira.codehaus.org/browse/ACT-1462" rel="nofollow noopener noreferrer"&gt;https://jira.codehaus.org/browse/ACT-1462&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 09:51:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81188#M54266</guid>
      <dc:creator>mdaviot</dc:creator>
      <dc:date>2012-11-21T09:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Output variables from CallActivity on BoundaryEvent trigger?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81189#M54267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From Saeid : Based on spec, could you propose a sample xml bpmn doing the job ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Based on the spec, a BoundaryEvent is a CatchEvent and thus has a DataOutput and DataOuputAssociation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I suggest to use something similar to the implementation of the WebserviceTask which also uses dataOutputAssociation. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See an example of such a BPMN file here : &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/master/modules/activiti-cxf/src/test/resources/org/activiti/engine/test/bpmn/servicetask/WebServiceTaskTest.testWebServiceInvocationWithDataFlowXPath.bpmn20.xml" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/master/modules/activiti-cxf/src/test/resources/org/activiti/engine/test/bpmn/servicetask/WebServiceTaskTest.testWebServiceInvocationWithDataFlowXPath.bpmn20.xml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't understand all of it yet, but I think this shares enough features to be used in the implementation of the BoundaryEvent in Activiti.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 16:49:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81189#M54267</guid>
      <dc:creator>mdaviot</dc:creator>
      <dc:date>2012-11-21T16:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Output variables from CallActivity on BoundaryEvent trigger?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81190#M54268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I agree with your detailed analysis Saeid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Something to take into account also is a ErrorEvent can be raised from within the Java code with the usage of the BpmnError exception. I suggest that this exception has a property of type Map to define the associated data.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 13:49:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81190#M54268</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2013-01-21T13:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Output variables from CallActivity on BoundaryEvent trigger?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81191#M54269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Comment from Tijs:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We are not a big fan of the BPMN data input and output definition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So this will definitely need a lot more discussion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Because we are now finalising the source code to the 5.11 release I would ask to let this one rest to after the release.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then we can startup a discussion about it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 13:51:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81191#M54269</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2013-01-21T13:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Output variables from CallActivity on BoundaryEvent trigger?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81192#M54270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tijs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also think it is better to be implemented with the new version of parser. I will reopen the issue after release of 5.11.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 13:52:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81192#M54270</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2013-01-21T13:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Output variables from CallActivity on BoundaryEvent trigger?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81193#M54271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From Tijs:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Saeid,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes we can do that now. I think we need a similar definition as the call activity to define the payload of the error message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the case of an error end event we only need an output definition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As I said before we don't like the BPMN itemdefinition approach so I would like to keep it similar to the current call activity input and output definitions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 13:53:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81193#M54271</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2013-01-21T13:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Output variables from CallActivity on BoundaryEvent trigger?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81194#M54272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tijs:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you mean something from BPMN standard or some activiti specific extension ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you suggest an hypothetical&amp;nbsp; xml sample ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 13:54:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81194#M54272</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2013-01-21T13:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Output variables from CallActivity on BoundaryEvent trigger?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81195#M54273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Saeid,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Will have to think a bit about that one. I'll come back to this tomorrow.&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>Thu, 24 Jan 2013 10:39:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81195#M54273</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-01-24T10:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Output variables from CallActivity on BoundaryEvent trigger?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81196#M54274</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;If we could add a Map to the BpmnError then we have a container to add variables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The error event definition could something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;errorEventDefinition errorRef="myError"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;extensionElements&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:variable name="customerNr" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:variable expression="${customer.name}" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/extensionElements&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/errorEventDefinition&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you think this would be a good way to define the payload of the BpmnError?&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>Fri, 25 Jan 2013 15:08:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81196#M54274</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-01-25T15:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Output variables from CallActivity on BoundaryEvent trigger?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81197#M54275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We also are in dire need of a way to pass results out of subprocesses (executed via CallActivities) in the case of errors in our project. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We currently use error end events to exit a subprocess in the case of an error and boundary error events attached to the CallActivities in calling processes. In a new use case we have to somehow attach data to the error event, because out-parameters of CallActivities (which we use to pass information back to the caller for regular end events) don't seem to be written in the case of error events. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've seen there is a JIRA feature request for this &lt;/SPAN&gt;&lt;A href="https://jira.codehaus.org/browse/ACT-1462" rel="nofollow noopener noreferrer"&gt;https://jira.codehaus.org/browse/ACT-1462&lt;/A&gt;&lt;SPAN&gt;, but without progress in 2013. Is this feature still on the roadmap? Or is there some other way to pass information from callee to caller in the case of an error end event?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2013 20:08:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81197#M54275</guid>
      <dc:creator>waldo</dc:creator>
      <dc:date>2013-03-19T20:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Output variables from CallActivity on BoundaryEvent trigger?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81198#M54276</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;I was waiting for a response from Saeid (or somebody else).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll ping Saeid about this and let's see if we can add it to the 5.13 roadmap.&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>Wed, 20 Mar 2013 10:30:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81198#M54276</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-03-20T10:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Output variables from CallActivity on BoundaryEvent trigger?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81199#M54277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Saeid,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've updated the post with the code, it was gone due to the rendering of the new forum.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you add a blockquote element to your code it will be better readable as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the case of this error event definition, I don't think we need an source and target definition, but only a way to express which variables should be part of the error payload. So that's the background of my code proposal. WDYT?&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>Mon, 22 Apr 2013 10:18:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81199#M54277</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-04-22T10:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Output variables from CallActivity on BoundaryEvent trigger?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81200#M54278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tijs, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;First of all, it seems that you have inserted a piece of XML in your above #17 comment, which is not readable Do you have it somewhere ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lets have a wrap up. We need extensions on two parts, catching and throwin. And either of them can be done in two ways, BPMN standard and activiti shortcut.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. BPMN standard&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If we want to stick to the standard, based on the specification, these could be throwing and catching parts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sample throwing, BPMN style, Long version:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;endEvent id="myErrorEndEvent"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dataInput id="event_variable" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dataInputAssociation&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;sourceRef&amp;gt; process_variable &amp;lt;/sourceRef&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;targetRef&amp;gt; event_variable" /&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;assignment&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;from&amp;gt; ${process_variable.field}&amp;lt;/from&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;to&amp;gt;${event_variable.field}&amp;lt;/to&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/assignment&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dataInputAssociation&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;errorEventDefinition errorRef="myError" /&amp;gt;&lt;BR /&gt;&amp;lt;/endEvent&amp;gt;&amp;nbsp; &lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or simpler:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sample throwing, BPMN style, shorter version:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;endEvent id="myErrorEndEvent"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dataInput id="event_variable" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dataInputAssociation&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;sourceRef&amp;gt; process_variable &amp;lt;/sourceRef&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;targetRef&amp;gt; event_variable" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dataInputAssociation&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;errorEventDefinition errorRef="myError" /&amp;gt;&lt;BR /&gt;&amp;lt;/endEvent&amp;gt;&amp;nbsp; &lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;sample catching, BPMN style, Long version:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;intermediateCatchEvent id="myErrorIntermediateCatcher"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dataOutputAssociation&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;sourceRef&amp;gt;event_variable&amp;lt;/sourceRef&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;targetRef&amp;gt;process_var2&amp;lt;/targetRef&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;assignment&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;from&amp;gt; ${event_variable.field}&amp;lt;/from&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;to&amp;gt; ${process_variable.field}&amp;lt;/to&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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/assignment&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dataOutputAssociation&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;signalEventDefinition signalRef="MyMessage" /&amp;gt;&lt;BR /&gt;&amp;lt;/intermediateCatchEvent&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;or simpler:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sample catching, BPMN Style, Short version:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;intermediateCatchEvent id="myErrorIntermediateCatcher"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dataOutputAssociation&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;sourceRef&amp;gt;event_variable&amp;lt;/sourceRef&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;targetRef&amp;gt;process_var2&amp;lt;/targetRef&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dataOutputAssociation&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;signalEventDefinition signalRef="MyMessage" /&amp;gt;&lt;BR /&gt;&amp;lt;/intermediateCatchEvent&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, You have already stated clearly at least twice that you are not a big fan of usage of BPMN Data input and Data output specification, but I would like to insist on keeping compatibility with BPMN as far as possible and the same time provide easier activiti specific shortcuts. Actually it is already used in web service task. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my shortcut proposal:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Activiti extension:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sample throwing, Activiti extension style:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;endEvent id="myErrorEndEvent"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;extensionElements&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;nbsp;&amp;nbsp; &amp;lt;activiti:in source="process_var" target="event_var" /&amp;gt;&lt;BR /&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; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;errorEventDefinition errorRef="myError" /&amp;gt;&lt;BR /&gt;&amp;lt;/endEvent&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sample catching, Activiti extension style:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;intermediateCatchEvent id="myErrorIntermediateCatcher"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;extensionElements&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;nbsp;&amp;nbsp; &amp;lt;activiti:smileysurprised:ut source="event_var" target="process_target_var" /&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;lt;/extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;signalEventDefinition signalRef="myError" /&amp;gt;&lt;BR /&gt;&amp;lt;/intermediateCatchEvent&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 07:57:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/output-variables-from-callactivity-on-boundaryevent-trigger/m-p/81200#M54278</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2013-04-29T07:57:33Z</dc:date>
    </item>
  </channel>
</rss>

