<?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: Out Variables from a Primary Process - A Proposal in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/out-variables-from-a-primary-process-a-proposal/m-p/76789#M50700</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;is there a way to only specify certain variables?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Not yet afaik… maybe the bpmn history attribute will be used for this at one moment in time…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;you're very correct in that the error messages themselves are very small, but the remaining variables may be large.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;So you do have megabytes of processvariables PER instance? Wow… are you sure you cannot 'refactor' that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 May 2011 15:22:27 GMT</pubDate>
    <dc:creator>ronald_van_kuij</dc:creator>
    <dc:date>2011-05-25T15:22:27Z</dc:date>
    <item>
      <title>Out Variables from a Primary Process - A Proposal</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/out-variables-from-a-primary-process-a-proposal/m-p/76784#M50695</link>
      <description>One of the primary areas that has been a source of difficulty for my group in working with Activiti is the inability to specify "out" variables from a primary process.&amp;nbsp; Mainly, we're working with Activiti using Spring integration, and we typically have a Spring Bean that kicks off a new Activiti pro</description>
      <pubDate>Tue, 24 May 2011 01:16:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/out-variables-from-a-primary-process-a-proposal/m-p/76784#M50695</guid>
      <dc:creator>tidetom</dc:creator>
      <dc:date>2011-05-24T01:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Out Variables from a Primary Process - A Proposal</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/out-variables-from-a-primary-process-a-proposal/m-p/76785#M50696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;My question is:&amp;nbsp; How are other people handling "out" variables like these? Am I missing something critical that I'm not thinking about?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;What we use is *not* storing all domain data in the engine, just references (e.g. see the jpa example but you can also do that yourself). What goes into the engine is just needed for the flow and the process updates domain data where needed. Works great (for us).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 07:23:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/out-variables-from-a-primary-process-a-proposal/m-p/76785#M50696</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-05-24T07:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Out Variables from a Primary Process - A Proposal</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/out-variables-from-a-primary-process-a-proposal/m-p/76786#M50697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ronald,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your response!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What goes into the engine is just needed for the flow and the process updates domain data where needed&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I see, thanks.&amp;nbsp; I should mention that we have similar processes … domain objects get updated for the primary purpose of being updated in the database … however the tricky part is that our processes are typically invoked in the context of a request/response type of flow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example: &lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;User submits request (async @ the client)&lt;BR /&gt;Middle-tier receives the request, starts a process flow.&lt;BR /&gt;Activiti process either succeeds or fails based upon many rules, database calls, etc.&lt;BR /&gt;Upon failure (of which there may be many listed) we want to show the user the list of errors as the response to the request.&lt;/UL&gt;&lt;SPAN&gt;I suppose the list of errors could be written to a database to be retrieved via a separate DAO call after the process executes, but it just seems like overkill for our scenario, especially given that we already have the variables set in the process domain, we just need to get them out&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I should mention that I love the product, just thought I'd propose something and see if others might want something similar … or if they have found other solutions that I wasn't considering.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 01:51:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/out-variables-from-a-primary-process-a-proposal/m-p/76786#M50697</guid>
      <dc:creator>tidetom</dc:creator>
      <dc:date>2011-05-25T01:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Out Variables from a Primary Process - A Proposal</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/out-variables-from-a-primary-process-a-proposal/m-p/76787#M50698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What goes into the engine is just needed for the flow and the process updates domain data where needed&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;I see, thanks.&amp;nbsp; I should mention that we have similar processes … domain objects get updated for the primary purpose of being updated in the database … however the tricky part is that our processes are typically invoked in the context of a request/response type of flow.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;So are ours…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;For example: &lt;BR /&gt;&lt;UL&gt;User submits request (async @ the client)&lt;BR /&gt;Middle-tier receives the request, starts a process flow.&lt;BR /&gt;Activiti process either succeeds or fails based upon many rules, database calls, etc.&lt;BR /&gt;Upon failure (of which there may be many listed) we want to show the user the list of errors as the response to the request.&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Ahhh.. .but that will never be the megabyts of data then like you mentioned will it? If so I still miss something…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I suppose the list of errors could be written to a database to be retrieved via a separate DAO call after the process executes, but it just seems like overkill for our scenario, especially given that we already have the variables set in the process domain, we just need to get them out&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;In relation to the previous statement, if there are no megabytes anymore, why not retrieve them from the history? Or use a tasklistener for the process end event and do something with them then (e.g. copy them to some other place…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I should mention that I love the product&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Me to &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 02:19:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/out-variables-from-a-primary-process-a-proposal/m-p/76787#M50698</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-05-25T02:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Out Variables from a Primary Process - A Proposal</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/out-variables-from-a-primary-process-a-proposal/m-p/76788#M50699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm, maybe we've hit one source of my confusion:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;In relation to the previous statement, if there are no megabytes anymore, why not retrieve them from the history?&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought when I specify "full" history, it will save &lt;/SPAN&gt;&lt;EM&gt;all&lt;/EM&gt;&lt;SPAN&gt; process execution variables … is there a way to only specify certain variables? (This was the megabytes that I was concerned about … you're very correct in that the error messages themselves are very small, but the remaining variables may be large.&amp;nbsp; I suppose I could null out all other variables prior to the end of the process.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;Or use a tasklistener for the process end event and do something with them then (e.g. copy them to some other place…&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll look into sticking a task listener on the end event, I hadn't considered that option and it definitely seems viable.&amp;nbsp; Would just need to find a place that could be referenced from the Spring bean that kicked the process off in the first place.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for your time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 05:24:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/out-variables-from-a-primary-process-a-proposal/m-p/76788#M50699</guid>
      <dc:creator>tidetom</dc:creator>
      <dc:date>2011-05-25T05:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Out Variables from a Primary Process - A Proposal</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/out-variables-from-a-primary-process-a-proposal/m-p/76789#M50700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;is there a way to only specify certain variables?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Not yet afaik… maybe the bpmn history attribute will be used for this at one moment in time…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;you're very correct in that the error messages themselves are very small, but the remaining variables may be large.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;So you do have megabytes of processvariables PER instance? Wow… are you sure you cannot 'refactor' that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 15:22:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/out-variables-from-a-primary-process-a-proposal/m-p/76789#M50700</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-05-25T15:22:27Z</dc:date>
    </item>
  </channel>
</rss>

