<?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: Transfer whole DelegateExecution to a sub-process using CallActivity in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/transfer-whole-delegateexecution-to-a-sub-process-using/m-p/3107#M1025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if the variables from the DelegateExecution contain byte arrays and other big data in it?&lt;/P&gt;&lt;P&gt;Will this take twice of the space in the database, if I put everything in a variable and pass it to the callActivity?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P&gt;Encho&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jan 2017 06:38:35 GMT</pubDate>
    <dc:creator>enchobelezirev</dc:creator>
    <dc:date>2017-01-17T06:38:35Z</dc:date>
    <item>
      <title>Transfer whole DelegateExecution to a sub-process using CallActivity</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/transfer-whole-delegateexecution-to-a-sub-process-using/m-p/3105#M1023</link>
      <description>Hello,I have a process diagram that contains of a lot of variables which are persisted in the DelegateExecution.&amp;nbsp;This diagram reaches a callActivity which trasfers the execution to&amp;nbsp;a new process diagram which needs almost all of the variables from the first diagram. The variables from the first diag</description>
      <pubDate>Mon, 16 Jan 2017 11:02:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/transfer-whole-delegateexecution-to-a-sub-process-using/m-p/3105#M1023</guid>
      <dc:creator>enchobelezirev</dc:creator>
      <dc:date>2017-01-16T11:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Transfer whole DelegateExecution to a sub-process using CallActivity</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/transfer-whole-delegateexecution-to-a-sub-process-using/m-p/3106#M1024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would not recommend you pass the entire execution context into the sub process as the execution context includes much more than just the task and process variables.&lt;BR /&gt;Instead, I suggest you collect the variables into a list or array and pass them into the sub-process that way.&lt;BR /&gt;&lt;BR /&gt;You can collect the variables in an executionListener by calling execution.getVariables(), this will return a map of the variables in the execution, you can then assign this list to a local (task scoped) variable that you set as an input to the called activity.&lt;BR /&gt;&lt;BR /&gt;This way, the task local variable disappears as soon as you return from the called activity and you aren't passing in more than you need to the called activity.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 21:17:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/transfer-whole-delegateexecution-to-a-sub-process-using/m-p/3106#M1024</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-01-16T21:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Transfer whole DelegateExecution to a sub-process using CallActivity</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/transfer-whole-delegateexecution-to-a-sub-process-using/m-p/3107#M1025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if the variables from the DelegateExecution contain byte arrays and other big data in it?&lt;/P&gt;&lt;P&gt;Will this take twice of the space in the database, if I put everything in a variable and pass it to the callActivity?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P&gt;Encho&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 06:38:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/transfer-whole-delegateexecution-to-a-sub-process-using/m-p/3107#M1025</guid>
      <dc:creator>enchobelezirev</dc:creator>
      <dc:date>2017-01-17T06:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Transfer whole DelegateExecution to a sub-process using CallActivity</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/transfer-whole-delegateexecution-to-a-sub-process-using/m-p/3108#M1026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ummm, you were originally planning on passing in the entire execution context which would contain the same content as well as a bunch of other stuff (scriptEngine references, process definition etc).&lt;/P&gt;&lt;P&gt;Using the method I proposed, you could easily filter the variable list to include only the bytearray id for pojo's and binary data.&lt;BR /&gt;Keep in mind, called activities are individual stand alone process instances, they have their own execution sack and set of variables (i.e.not shared with parent).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 12:24:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/transfer-whole-delegateexecution-to-a-sub-process-using/m-p/3108#M1026</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-01-17T12:24:42Z</dc:date>
    </item>
  </channel>
</rss>

