<?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 Pass variables from sub-process to process. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/pass-variables-from-sub-process-to-process/m-p/210121#M163251</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am implementing a call activity with a sub process. I need to pass variables into sub process and it will pass variables back to the parent. I am able to pass variables into the sub-process but unable to pass the variables back to the parent process. I am attaching the template test case. Also found a similar thread abandoned 2 years ago:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://forums.activiti.org/content/passing-variables-sub-process-process" rel="nofollow noopener noreferrer"&gt;https://forums.activiti.org/content/passing-variables-sub-process-process&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this still a bug? Please help. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S: Please rename the attached extension to zip as only txt is allowed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Nov 2015 23:53:45 GMT</pubDate>
    <dc:creator>symphony_person</dc:creator>
    <dc:date>2015-11-09T23:53:45Z</dc:date>
    <item>
      <title>Pass variables from sub-process to process.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pass-variables-from-sub-process-to-process/m-p/210121#M163251</link>
      <description>I am implementing a call activity with a sub process. I need to pass variables into sub process and it will pass variables back to the parent. I am able to pass variables into the sub-process but unable to pass the variables back to the parent process. I am attaching the template test case. Also fou</description>
      <pubDate>Mon, 09 Nov 2015 23:53:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pass-variables-from-sub-process-to-process/m-p/210121#M163251</guid>
      <dc:creator>symphony_person</dc:creator>
      <dc:date>2015-11-09T23:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pass variables from sub-process to process.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pass-variables-from-sub-process-to-process/m-p/210122#M163252</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;It works fine. Your service task implementation was not correct and therefore the process instance wasn't executed correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to change the HelloWorld class signatures to the following:&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;public class HelloWorld implements JavaDelegate {&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; public void execute(DelegateExecution execution) throws Exception {&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;In your test you then should use the HistoryService to check the variable values, because the process instance is ended and therefore there's no runtime data available anymore.&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, 11 Nov 2015 21:33:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pass-variables-from-sub-process-to-process/m-p/210122#M163252</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-11-11T21:33:52Z</dc:date>
    </item>
  </channel>
</rss>

