<?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: Why the state in the BulkStatus response is always equal to scheduled in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/why-the-state-in-the-bulkstatus-response-is-always-equal-to/m-p/316359#M3360</link>
    <description>&lt;UL&gt;
&lt;LI&gt;REQUIREMENTS&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;To work properly, the Bulk Service needs a true KeyValue storage to store the command and its status, there are 2 possibles choices: - Use &lt;CODE&gt;RedisKeyValueStore&lt;/CODE&gt; if you have &lt;CODE&gt;nuxeo.redis.enabled=true&lt;/CODE&gt; in your &lt;CODE&gt;nuxeo.conf&lt;/CODE&gt;. - Use &lt;CODE&gt;MongoDBKeyValueStore&lt;/CODE&gt; if you are using the MongoDB template. You should not rely on the default &lt;CODE&gt;MemKeyValueStore&lt;/CODE&gt; implementation that flushes the data on restart.&lt;/P&gt;
&lt;H2&gt;&lt;A href="https://doc.nuxeo.com/nxdoc/bulk-action-framework/#bulk-service"&gt;&lt;/A&gt;&lt;/H2&gt;</description>
    <pubDate>Tue, 27 Apr 2021 11:25:26 GMT</pubDate>
    <dc:creator>Ahmad_BenMaallem</dc:creator>
    <dc:date>2021-04-27T11:25:26Z</dc:date>
    <item>
      <title>Why the state in the BulkStatus response is always equal to scheduled</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/why-the-state-in-the-bulkstatus-response-is-always-equal-to/m-p/316358#M3359</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I tested the bulk action in nuxeo based on the doc &lt;A href="https://doc.nuxeo.com/nxdoc/1010/bulk-action-framework/" target="test_blank"&gt;https://doc.nuxeo.com/nxdoc/1010/bulk-action-framework/&lt;/A&gt;.
I have succeeded in creating and launching my specific action.&lt;/P&gt;
&lt;P&gt;My problem is that the bulkstatus is still on scheduled knowing that my action is complete.&lt;/P&gt;
&lt;P&gt;either the following command :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;curl -s -X GET "http://localhost:8080/nuxeo/api/v1/bulk/$CMD"  -u Administrator:Administrator  -H 'content-type: application/json' | jq .
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;return the following response&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;{
  "entity-type": "bulkStatus",
  "commandId": "9102632b-0c53-41f9-ad45-29580770855e",
  "state": "SCHEDULED",
  "processed": 0,
  "error": false,
  "errorCount": 0,
  "total": 0,
  "action": "myAction",
  "username": "Administrator",
  "submitted": "2021-04-26T13:36:08.763Z",
  "scrollStart": null,
  "scrollEnd": null,
  "processingStart": null,
  "processingEnd": null,
  "completed": null,
  "processingMillis": 0
}

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 26 Apr 2021 12:53:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/why-the-state-in-the-bulkstatus-response-is-always-equal-to/m-p/316358#M3359</guid>
      <dc:creator>Ahmad_BenMaallem</dc:creator>
      <dc:date>2021-04-26T12:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why the state in the BulkStatus response is always equal to scheduled</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/why-the-state-in-the-bulkstatus-response-is-always-equal-to/m-p/316359#M3360</link>
      <description>&lt;UL&gt;
&lt;LI&gt;REQUIREMENTS&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;To work properly, the Bulk Service needs a true KeyValue storage to store the command and its status, there are 2 possibles choices: - Use &lt;CODE&gt;RedisKeyValueStore&lt;/CODE&gt; if you have &lt;CODE&gt;nuxeo.redis.enabled=true&lt;/CODE&gt; in your &lt;CODE&gt;nuxeo.conf&lt;/CODE&gt;. - Use &lt;CODE&gt;MongoDBKeyValueStore&lt;/CODE&gt; if you are using the MongoDB template. You should not rely on the default &lt;CODE&gt;MemKeyValueStore&lt;/CODE&gt; implementation that flushes the data on restart.&lt;/P&gt;
&lt;H2&gt;&lt;A href="https://doc.nuxeo.com/nxdoc/bulk-action-framework/#bulk-service"&gt;&lt;/A&gt;&lt;/H2&gt;</description>
      <pubDate>Tue, 27 Apr 2021 11:25:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/why-the-state-in-the-bulkstatus-response-is-always-equal-to/m-p/316359#M3360</guid>
      <dc:creator>Ahmad_BenMaallem</dc:creator>
      <dc:date>2021-04-27T11:25:26Z</dc:date>
    </item>
  </channel>
</rss>

