<?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: Wait state for JavaTask in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/wait-state-for-javatask/m-p/149300#M104295</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;And when do you know all orders of a list have been processed so you can invoke the web service with the list?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If this logic is known, you could save each order in a table and only invoke the web service with all the stored orders when the condition is met.&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>Tue, 24 Sep 2013 09:11:26 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2013-09-24T09:11:26Z</dc:date>
    <item>
      <title>Wait state for JavaTask</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wait-state-for-javatask/m-p/149299#M104294</link>
      <description>We have a JavaService task which makes a call to a third party WebService to get our order status. These services accept a list of orders. But&amp;nbsp; we create a workflow instance for each order and so are currently calling the service for each order. As individual calls are expensive, we are asked to cal</description>
      <pubDate>Mon, 23 Sep 2013 23:43:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wait-state-for-javatask/m-p/149299#M104294</guid>
      <dc:creator>rangoo</dc:creator>
      <dc:date>2013-09-23T23:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Wait state for JavaTask</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wait-state-for-javatask/m-p/149300#M104295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;And when do you know all orders of a list have been processed so you can invoke the web service with the list?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If this logic is known, you could save each order in a table and only invoke the web service with all the stored orders when the condition is met.&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>Tue, 24 Sep 2013 09:11:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wait-state-for-javatask/m-p/149300#M104295</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-09-24T09:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Wait state for JavaTask</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wait-state-for-javatask/m-p/149301#M104296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is no specific time so we do 5 tries(with 1 min gap) for each order for&amp;nbsp; specific FINAL order states i.e. Delivered or Error and if neither of these states is received,&amp;nbsp; then we mark order status programatically as failure. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 15:40:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wait-state-for-javatask/m-p/149301#M104296</guid>
      <dc:creator>rangoo</dc:creator>
      <dc:date>2013-09-24T15:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Wait state for JavaTask</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wait-state-for-javatask/m-p/149302#M104297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are thinking of using an external cron job which make a webservice call for a list of orders. As you suggested these orders would be persisted in custom table in Database and only a subset of them would be picked at a given point of time. Job then updates the table with order status. The timer for each workflow instance for an order periodically checks for order status in the DB on receiving a valid status moves to next step&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead of a custom table for orders. Do you recommend leveraging User Task for wait state, with a system user assigned with tasks? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 19:56:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wait-state-for-javatask/m-p/149302#M104297</guid>
      <dc:creator>rangoo</dc:creator>
      <dc:date>2013-10-14T19:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Wait state for JavaTask</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wait-state-for-javatask/m-p/149303#M104298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For system wait states, we typically use the receive task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, technically your solution with a system assigned user task also would work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 10:36:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wait-state-for-javatask/m-p/149303#M104298</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-10-21T10:36:46Z</dc:date>
    </item>
  </channel>
</rss>

