<?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 Handling sync and async use cases in single process in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/handling-sync-and-async-use-cases-in-single-process/m-p/30708#M13066</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just started using Activiti, I am trying to define the flow for following use case.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When client call my restful service, I call workflow start -&amp;gt; task1 -&amp;gt; tast2 -&amp;gt; task3 -&amp;gt; task4 -&amp;gt; task5 -&amp;gt; end.&lt;/P&gt;&lt;P&gt;All of them are service tasks. Task3 calls another downstream system X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After task3, I need to give a sync response back to the client based on X&amp;nbsp;system status.&lt;/P&gt;&lt;P&gt;X system update final status through the event (Async flow) after a day, on processing event remaining workflow (task4 -&amp;gt; task5 -&amp;gt; end) need to be executed. What is the best way to define this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would really appreciate&amp;nbsp;any help on this! &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Oct 2017 20:22:03 GMT</pubDate>
    <dc:creator>markm</dc:creator>
    <dc:date>2017-10-06T20:22:03Z</dc:date>
    <item>
      <title>Handling sync and async use cases in single process</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/handling-sync-and-async-use-cases-in-single-process/m-p/30708#M13066</link>
      <description>Hi,I just started using Activiti, I am trying to define the flow for following use case.&amp;nbsp;When client call my restful service, I call workflow start -&amp;gt; task1 -&amp;gt; tast2 -&amp;gt; task3 -&amp;gt; task4 -&amp;gt; task5 -&amp;gt; end.All of them are service tasks. Task3 calls another downstream system X.After task3</description>
      <pubDate>Fri, 06 Oct 2017 20:22:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/handling-sync-and-async-use-cases-in-single-process/m-p/30708#M13066</guid>
      <dc:creator>markm</dc:creator>
      <dc:date>2017-10-06T20:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Handling sync and async use cases in single process</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/handling-sync-and-async-use-cases-in-single-process/m-p/30709#M13067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use a receive task or an intermediate message catch event after task 3. Then system X can send a message via the api and move from there to next steps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 23:47:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/handling-sync-and-async-use-cases-in-single-process/m-p/30709#M13067</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-10-10T23:47:24Z</dc:date>
    </item>
  </channel>
</rss>

