<?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 Process Completed Without Attempting the Deferred Item in the Queue (BP Version 6.9.0) in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Process-Completed-Without-Attempting-the-Deferred-Item-in-the/m-p/74240#M26845</link>
    <description>I have 5 items in the Work Queue, in which initially 2 items were deferred in the queue. &lt;BR /&gt;Later On, One item was successfully completed but the 2nd item was not even attempted and the Process got completed. No exceptions observed in the complete process as checked in the session logs.&lt;BR /&gt;&lt;BR /&gt;Screenshots below for reference.&lt;BR /&gt;&lt;BR /&gt;Queue Status:-&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31460.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31587iB549E9DBCEC67B46/image-size/large?v=v2&amp;amp;px=999" role="button" title="31460.png" alt="31460.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Process Status:-&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31462.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31588iF09418AD1B9D6972/image-size/large?v=v2&amp;amp;px=999" role="button" title="31462.png" alt="31462.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Process Studio:-&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31463.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31590iE36B5231D281AFCE/image-size/large?v=v2&amp;amp;px=999" role="button" title="31463.png" alt="31463.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31464.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31591iBBB7818BC41309E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="31464.png" alt="31464.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31465.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31589iD0AC18FD348131B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="31465.png" alt="31465.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Saurabh Goswami&lt;BR /&gt;RPA Developer&lt;BR /&gt;Ericsson India Global Pvt. Ltd.&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Wed, 18 Aug 2021 05:53:00 GMT</pubDate>
    <dc:creator>esaugos</dc:creator>
    <dc:date>2021-08-18T05:53:00Z</dc:date>
    <item>
      <title>Process Completed Without Attempting the Deferred Item in the Queue (BP Version 6.9.0)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Process-Completed-Without-Attempting-the-Deferred-Item-in-the/m-p/74240#M26845</link>
      <description>I have 5 items in the Work Queue, in which initially 2 items were deferred in the queue. &lt;BR /&gt;Later On, One item was successfully completed but the 2nd item was not even attempted and the Process got completed. No exceptions observed in the complete process as checked in the session logs.&lt;BR /&gt;&lt;BR /&gt;Screenshots below for reference.&lt;BR /&gt;&lt;BR /&gt;Queue Status:-&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31460.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31587iB549E9DBCEC67B46/image-size/large?v=v2&amp;amp;px=999" role="button" title="31460.png" alt="31460.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Process Status:-&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31462.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31588iF09418AD1B9D6972/image-size/large?v=v2&amp;amp;px=999" role="button" title="31462.png" alt="31462.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Process Studio:-&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31463.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31590iE36B5231D281AFCE/image-size/large?v=v2&amp;amp;px=999" role="button" title="31463.png" alt="31463.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31464.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31591iBBB7818BC41309E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="31464.png" alt="31464.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31465.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31589iD0AC18FD348131B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="31465.png" alt="31465.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Saurabh Goswami&lt;BR /&gt;RPA Developer&lt;BR /&gt;Ericsson India Global Pvt. Ltd.&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Aug 2021 05:53:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Process-Completed-Without-Attempting-the-Deferred-Item-in-the/m-p/74240#M26845</guid>
      <dc:creator>esaugos</dc:creator>
      <dc:date>2021-08-18T05:53:00Z</dc:date>
    </item>
    <item>
      <title>RE: Process Completed Without Attempting the Deferred Item in the Queue (BP Version 6.9.0)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Process-Completed-Without-Attempting-the-Deferred-Item-in-the/m-p/74241#M26846</link>
      <description>Hello,&lt;BR /&gt;At first glimpse of your screenshots it looks like the process competed at 10:27:59 therefore not picking up an item that had been deferred until 10:28:00?&lt;BR /&gt;Maybe a bit more of a description of what was expected and what is wrong might help me understand the issue better. An understanding of the expression in your decision stages and the data items being evaluated might be needed to understand the decision result.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Denis Dennehy&lt;BR /&gt;Head of Professional Services, EMEA&lt;BR /&gt;Blue Prism Ltd&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Aug 2021 07:18:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Process-Completed-Without-Attempting-the-Deferred-Item-in-the/m-p/74241#M26846</guid>
      <dc:creator>Denis__Dennehy</dc:creator>
      <dc:date>2021-08-18T07:18:00Z</dc:date>
    </item>
    <item>
      <title>RE: Process Completed Without Attempting the Deferred Item in the Queue (BP Version 6.9.0)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Process-Completed-Without-Attempting-the-Deferred-Item-in-the/m-p/74242#M26847</link>
      <description>Process is checking for deferred items in queue and if there is any - trying to get item, otherwise exits.&lt;BR /&gt;&lt;BR /&gt;It looks like at &lt;SPAN&gt;10:27:59 that last deferred item became active, number of deferred items became 0 and process just stopped instead of attempting to work on it.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;However, there is no point trying to get deferred item - you won't get it until it becomes active (unworked). And when it becomes active, it stops being deferred and process will miss it. It might only work sometimes if race condition happens - item is still deferred when report data is collected, but not anymore when get item is called.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Include unworked items in Get report count, then process wont miss it.&lt;BR /&gt;&lt;BR /&gt;I'd also stop hammering database for queue data multiple time a second and add reasonable delay between checks when there is no active items to work on:&lt;BR /&gt;1) Do we have unworked items? - Get Item - Do stuff - Repeat 1&lt;BR /&gt;2) Do we have unworked or deferred items? Wait 5-10 secs and go back to 1, otherwise exit.&lt;BR /&gt;Both in (2), because you might also get a race if you only checking for deferred.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Andrey Kudinov&lt;BR /&gt;Project Manager&lt;BR /&gt;MobileTelesystems PJSC&lt;BR /&gt;Europe/Moscow&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Aug 2021 08:38:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Process-Completed-Without-Attempting-the-Deferred-Item-in-the/m-p/74242#M26847</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2021-08-18T08:38:00Z</dc:date>
    </item>
    <item>
      <title>RE: Process Completed Without Attempting the Deferred Item in the Queue (BP Version 6.9.0)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Process-Completed-Without-Attempting-the-Deferred-Item-in-the/m-p/74243#M26848</link>
      <description>Is it fine if add the checks as shown below ?&lt;BR /&gt;&lt;BR /&gt;1, After checking only deferred items in Queue, if it goes for a No Condition.&lt;BR /&gt;2. Then, Wait for 5 Seconds.&lt;BR /&gt;3. Again Get Report Data and check for Unworked and Deferred items both.&lt;BR /&gt;4. if Item Count Exists -&amp;gt; Get Next item -&amp;gt; Perform the Activity.&lt;BR /&gt;5. Else End the Process.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31441.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31568iDB1CCB5C9046178D/image-size/large?v=v2&amp;amp;px=999" role="button" title="31441.png" alt="31441.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31442.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31569i09A8FC07BFB018DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="31442.png" alt="31442.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31443.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31570i44DDAC8E6A427E11/image-size/large?v=v2&amp;amp;px=999" role="button" title="31443.png" alt="31443.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31444.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31571i1CB92CD0F4504F4F/image-size/large?v=v2&amp;amp;px=999" role="button" title="31444.png" alt="31444.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Saurabh Goswami&lt;BR /&gt;RPA Developer&lt;BR /&gt;Ericsson India Global Pvt. Ltd.&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Aug 2021 10:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Process-Completed-Without-Attempting-the-Deferred-Item-in-the/m-p/74243#M26848</guid>
      <dc:creator>esaugos</dc:creator>
      <dc:date>2021-08-18T10:14:00Z</dc:date>
    </item>
    <item>
      <title>RE: Process Completed Without Attempting the Deferred Item in the Queue (BP Version 6.9.0)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Process-Completed-Without-Attempting-the-Deferred-Item-in-the/m-p/74244#M26849</link>
      <description>Simple fix is just check both instead of just deferred in your original process.&lt;BR /&gt;&lt;BR /&gt;But to stop hammering a server unnecessarily, you want no delay when there is active items, some sleep when there is deferred left and exit when everything is done. I'd do it like this:&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31450.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31577iCAFAD93A80908D07/image-size/large?v=v2&amp;amp;px=999" role="button" title="31450.png" alt="31450.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
You don't need to count if "Get Next Item" still returns data, if there is none - you check deferred and sleep if any. &lt;BR /&gt;I check unworked too, because checking deferred only might end up with a situation you had. Although unlikely with a 5 sec sleep, it might still happen once in a blue moon.&lt;BR /&gt;&lt;BR /&gt;Stop requested is just something I always add in workqueue scenarios, so that I can safely stop a process without force stopping it inside a lock.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Andrey Kudinov&lt;BR /&gt;Project Manager&lt;BR /&gt;MobileTelesystems PJSC&lt;BR /&gt;Europe/Moscow&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Aug 2021 12:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Process-Completed-Without-Attempting-the-Deferred-Item-in-the/m-p/74244#M26849</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2021-08-18T12:24:00Z</dc:date>
    </item>
  </channel>
</rss>

