<?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 About DB persistence after each step for BPM flow with only 'Service tasks'  in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/about-db-persistence-after-each-step-for-bpm-flow-with-only/m-p/238233#M191363</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have the following use case that we are trying to implement using Activiti -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These 3 steps are constitute a BPM flow -&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Service Task 1 - some data capture task say from a queue&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Service Task 2 - Some data transformation task&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Service task 3 - persisting data results calculated in step 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now we need to make sure at each step BPM data is persisted so we know how long it took for each step.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also say if Step 2 fails we need to make sure Step 1 execution details are persisted in activiti tables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We also understand that in Activiti for Service tasks data is persisted only on success of all steps. We would like to know how to model above scenario in Activiti so it meets our needs using Activiti i.e. ensure data is persisted upon failure of a step.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lot of questions in the forum similar to above question mentions use of wait state, receive task,etc…but we are looking for best practice to achieve above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jan 2016 21:43:17 GMT</pubDate>
    <dc:creator>kssaokar</dc:creator>
    <dc:date>2016-01-26T21:43:17Z</dc:date>
    <item>
      <title>About DB persistence after each step for BPM flow with only 'Service tasks'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/about-db-persistence-after-each-step-for-bpm-flow-with-only/m-p/238233#M191363</link>
      <description>We have the following use case that we are trying to implement using Activiti -These 3 steps are constitute a BPM flow -1. Service Task 1 - some data capture task say from a queue2. Service Task 2 - Some data transformation task3. Service task 3 - persisting data results calculated in step 2Now we n</description>
      <pubDate>Tue, 26 Jan 2016 21:43:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/about-db-persistence-after-each-step-for-bpm-flow-with-only/m-p/238233#M191363</guid>
      <dc:creator>kssaokar</dc:creator>
      <dc:date>2016-01-26T21:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: About DB persistence after each step for BPM flow with only 'Service tasks'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/about-db-persistence-after-each-step-for-bpm-flow-with-only/m-p/238234#M191364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Make your service tasks async, and you'll get all the features you wanted.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 14:46:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/about-db-persistence-after-each-step-for-bpm-flow-with-only/m-p/238234#M191364</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-01-27T14:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: About DB persistence after each step for BPM flow with only 'Service tasks'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/about-db-persistence-after-each-step-for-bpm-flow-with-only/m-p/238235#M191365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What if we want to pass results of Service Task 1(thru process variables) to Service Task 2 and from there to Service Task3? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Will this work if I just set flag to async?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 16:14:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/about-db-persistence-after-each-step-for-bpm-flow-with-only/m-p/238235#M191365</guid>
      <dc:creator>kssaokar</dc:creator>
      <dc:date>2016-01-27T16:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: About DB persistence after each step for BPM flow with only 'Service tasks'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/about-db-persistence-after-each-step-for-bpm-flow-with-only/m-p/238236#M191366</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;SPAN&gt;I tried this sample even I have similar requirement with little modification in it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to log each step but when exception occurs it has to stop and persists previous tasks in activiti table.By making async ture, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; it persists all the steps in the workflow to activiti tables even when the exception occurs. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My sample is like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start–&amp;gt;Step1(Service task)–&amp;gt;Step2(Service task)–&amp;gt;Step3(Service task)–&amp;gt;end.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When Exception occurs in Step2(Service task) I want to persist the Step1(Service task),Step2(Service task) with Exception and it should not continue to Step3(Service task) to persists in the actviti tables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to persists the previous and current(Exception rises) steps to log into the activiti tables and it should stop logging&amp;nbsp; next steps i.e the steps after the exception. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried with "Boundary Error Event" also, but same thing continued. How can I achieve this ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 08:18:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/about-db-persistence-after-each-step-for-bpm-flow-with-only/m-p/238236#M191366</guid>
      <dc:creator>pavitra</dc:creator>
      <dc:date>2016-01-28T08:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: About DB persistence after each step for BPM flow with only 'Service tasks'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/about-db-persistence-after-each-step-for-bpm-flow-with-only/m-p/238237#M191367</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 would use boundary error event (Thrown exception must extend BpmnError class).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 07:47:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/about-db-persistence-after-each-step-for-bpm-flow-with-only/m-p/238237#M191367</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-01-29T07:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: About DB persistence after each step for BPM flow with only 'Service tasks'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/about-db-persistence-after-each-step-for-bpm-flow-with-only/m-p/238238#M191368</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;SPAN&gt;Thanks for the suggestion.It worked for me , I have few questions to know about. When my step throws Bpm Error which is attached to boundary error event, its ID is stored in 'act_ru_execution ' table but I have got two entries in it.So why its 2 entries ?Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 14:29:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/about-db-persistence-after-each-step-for-bpm-flow-with-only/m-p/238238#M191368</guid>
      <dc:creator>pavitra</dc:creator>
      <dc:date>2016-01-29T14:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: About DB persistence after each step for BPM flow with only 'Service tasks'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/about-db-persistence-after-each-step-for-bpm-flow-with-only/m-p/238239#M191369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Pavitra,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you create jUnit test for this case?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://forums.activiti.org/content/sticky-how-write-unit-test" rel="nofollow noopener noreferrer"&gt;https://forums.activiti.org/content/sticky-how-write-unit-test&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 09:29:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/about-db-persistence-after-each-step-for-bpm-flow-with-only/m-p/238239#M191369</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-02-01T09:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: About DB persistence after each step for BPM flow with only 'Service tasks'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/about-db-persistence-after-each-step-for-bpm-flow-with-only/m-p/238240#M191370</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 am running 2 different Activiti process, all of them use service tasks in async mode.In this case if I am running one workflow in one process(in async mode) - will this affect the other process? -&amp;nbsp; what I see when running the sample attached below is activiti in multiple processes. HelloWorldWorkflow1ProcessMain is executing the workflow steps in the HelloWorldWorkflow2ProcessMain. Both have different workflow running in different process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want first process to take care of workflow steps running in first process(HelloWorldWorkflow1ProcessMain)and the second process to take care the workflow steps in the second process(HelloWorldWorkflow2Process ).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;see for example - HelloWorld1Flow - has 3 steps and running in HelloWorldWorkflow1ProcessMain, and &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HelloWorld2Flow - has 3 steps and running in HelloWorldWorkflow2ProcessMain. We don’t want HelloWorldWorkflow2ProcessMain to run the workflow steps(HelloWorld1Flow) in the HelloWorldWorkflow1ProcessMain and vice-versa. Both processes are running in parallel how do we achieve this? Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See I have attached my actviti.config.xml file and two workflow file more information.For two different process I use the same activiti configuration(actviti.config.xml).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 13:29:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/about-db-persistence-after-each-step-for-bpm-flow-with-only/m-p/238240#M191370</guid>
      <dc:creator>pavitra</dc:creator>
      <dc:date>2016-02-03T13:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: About DB persistence after each step for BPM flow with only 'Service tasks'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/about-db-persistence-after-each-step-for-bpm-flow-with-only/m-p/238241#M191371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I opened new topic on the above issue.Please Ignore it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 14:52:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/about-db-persistence-after-each-step-for-bpm-flow-with-only/m-p/238241#M191371</guid>
      <dc:creator>pavitra</dc:creator>
      <dc:date>2016-02-03T14:52:40Z</dc:date>
    </item>
  </channel>
</rss>

