<?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: Get variable of subprocess in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/get-variable-of-subprocess/m-p/259530#M212660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank's Axel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I agree with you, but for my situation i think that the second option is the suitable solution because my subprocess is a short process that it is used by other processes only for integrate alfresco with an external application of electronic signature. So the main process has different behavior if the subprocess ends normally rather then ends with a high level application error of the external application, in latter case i would be able to pass the external application error to the super process in order to manage the error in different manner for each super process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You have talk about error's data payload, can you explain to me how to use it or point me to the right documentation? because in the examples provided by activiti (&lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/#examples" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/#examples&lt;/A&gt;&lt;SPAN&gt;) I have not found any similar situation and with the activiti eclipse designer (&lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/#activitiDesigner" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/#activitiDesigner&lt;/A&gt;&lt;SPAN&gt;) i can't found a way to define the error's data payload.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Francesco.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Aug 2012 07:54:19 GMT</pubDate>
    <dc:creator>checco</dc:creator>
    <dc:date>2012-08-20T07:54:19Z</dc:date>
    <item>
      <title>Get variable of subprocess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-variable-of-subprocess/m-p/259528#M212658</link>
      <description>Hi to all,I have a subprocess that is reused in other processes and the subprocess can end with or without error. In the case of error the subprocess terminates with a ErrorEndEvent in the other case the subprocess terminates with a&amp;nbsp; normal EndEvent.In the processes that uses the subprocess I have p</description>
      <pubDate>Tue, 26 Jun 2012 16:07:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-variable-of-subprocess/m-p/259528#M212658</guid>
      <dc:creator>checco</dc:creator>
      <dc:date>2012-06-26T16:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get variable of subprocess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-variable-of-subprocess/m-p/259529#M212659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;based on the descriptions in the Activiti User Guide (e.g. [url=&lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/#bpmnCallActivity}CallActiviti" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/#bpmnCallActivity}CallActiviti&lt;/A&gt;&lt;SPAN&gt;and &lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/#bpmnEventSubprocess" rel="nofollow noopener noreferrer"&gt;Event Sub-Process&lt;/A&gt;&lt;SPAN&gt;), I think this is intentional and correct behavior. Since the sub-process fails, no data is transferred, as it is defined that data is "copied back into the main process when it ends." Termination by error is not the same as a proper end.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If the error is a proper way the sub-process could end, it should be handled as such within the sub-process. That way, data could be copied back by the CallActivity. Otherwise, the only option I see would be in passing the relevant data back via the error of the sub-process, which would have to be an explicitly generated error in order for you to define its data payload. This I would consider to be the less optimal of both options.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2012 20:30:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-variable-of-subprocess/m-p/259529#M212659</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-08-10T20:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Get variable of subprocess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-variable-of-subprocess/m-p/259530#M212660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank's Axel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I agree with you, but for my situation i think that the second option is the suitable solution because my subprocess is a short process that it is used by other processes only for integrate alfresco with an external application of electronic signature. So the main process has different behavior if the subprocess ends normally rather then ends with a high level application error of the external application, in latter case i would be able to pass the external application error to the super process in order to manage the error in different manner for each super process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You have talk about error's data payload, can you explain to me how to use it or point me to the right documentation? because in the examples provided by activiti (&lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/#examples" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/#examples&lt;/A&gt;&lt;SPAN&gt;) I have not found any similar situation and with the activiti eclipse designer (&lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/#activitiDesigner" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/#activitiDesigner&lt;/A&gt;&lt;SPAN&gt;) i can't found a way to define the error's data payload.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Francesco.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 07:54:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-variable-of-subprocess/m-p/259530#M212660</guid>
      <dc:creator>checco</dc:creator>
      <dc:date>2012-08-20T07:54:19Z</dc:date>
    </item>
  </channel>
</rss>

