<?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: How to schedule an automation-chain in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-schedule-an-automation-chain/m-p/314107#M1108</link>
    <description>&lt;P&gt;I test it with a user Action so the code is fine..i dont understand why it doesnt work with the scheduler&lt;/P&gt;</description>
    <pubDate>Fri, 20 Oct 2017 14:39:04 GMT</pubDate>
    <dc:creator>Nuxeo_User</dc:creator>
    <dc:date>2017-10-20T14:39:04Z</dc:date>
    <item>
      <title>How to schedule an automation-chain</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-schedule-an-automation-chain/m-p/314101#M1102</link>
      <description>&lt;P&gt;Hi &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I want to schedule an automation chain . I have created the operation which deletes the trash .Then i used the following extension to set up a scheduler to be executed every 1 minute but nothing happens.This is the extension:&lt;/P&gt;
&lt;COMPONENT name="com.example.nuxeo.schedule.monthly_stuff"&gt;
  &lt;EXTENSION target="org.nuxeo.ecm.core.scheduler.SchedulerService" point="schedule"&gt;
    &lt;SCHEDULE id="trashDelete"&gt;
      &lt;EVENTID&gt;DeleteTrash&lt;/EVENTID&gt;
      &lt;CRONEXPRESSION&gt;0 1 0 * * ?&lt;/CRONEXPRESSION&gt;
    &lt;/SCHEDULE&gt;
  &lt;/EXTENSION&gt;
&lt;/COMPONENT&gt;</description>
      <pubDate>Wed, 18 Oct 2017 09:24:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-schedule-an-automation-chain/m-p/314101#M1102</guid>
      <dc:creator>Nuxeo_User</dc:creator>
      <dc:date>2017-10-18T09:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to schedule an automation-chain</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-schedule-an-automation-chain/m-p/314102#M1103</link>
      <description>&lt;P&gt;You need to setup an event handler that will catch the event you created (DeleteTrash) and call your automation chain (DeleteTrashOperation)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;extension target="org.nuxeo.ecm.core.operation.OperationServiceComponent" point="event-handlers"&amp;gt;
&amp;lt;handler chainId="DeleteTrashOperation" postCommit="true"&amp;gt;
  &amp;lt;event&amp;gt;DeleteTrash&amp;lt;/event&amp;gt;
&amp;lt;/handler&amp;gt;
...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 Oct 2017 09:36:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-schedule-an-automation-chain/m-p/314102#M1103</guid>
      <dc:creator>pibou_Bouvret</dc:creator>
      <dc:date>2017-10-18T09:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to schedule an automation-chain</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-schedule-an-automation-chain/m-p/314103#M1104</link>
      <description>&lt;P&gt;I dont understand this&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 09:32:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-schedule-an-automation-chain/m-p/314103#M1104</guid>
      <dc:creator>Nuxeo_User</dc:creator>
      <dc:date>2017-10-20T09:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to schedule an automation-chain</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-schedule-an-automation-chain/m-p/314104#M1105</link>
      <description>&lt;P&gt;Now it recognises the Scheduler..It turned out that the problem was Cron Expression..But now i have another problem.It throws an exception saying&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 09:41:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-schedule-an-automation-chain/m-p/314104#M1105</guid>
      <dc:creator>Nuxeo_User</dc:creator>
      <dc:date>2017-10-20T09:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to schedule an automation-chain</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-schedule-an-automation-chain/m-p/314105#M1106</link>
      <description>&lt;P&gt;Can you show us your custom operation DeleteTrashOperation ?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 14:33:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-schedule-an-automation-chain/m-p/314105#M1106</guid>
      <dc:creator>Vladimir_Pasqui</dc:creator>
      <dc:date>2017-10-20T14:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to schedule an automation-chain</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-schedule-an-automation-chain/m-p/314106#M1107</link>
      <description>&lt;P&gt;@Operation(id = DeleteTrash.ID, category = Constants.CAT_DOCUMENT, label = "DeleteTrash", description = "")&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 14:36:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-schedule-an-automation-chain/m-p/314106#M1107</guid>
      <dc:creator>Nuxeo_User</dc:creator>
      <dc:date>2017-10-20T14:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to schedule an automation-chain</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-schedule-an-automation-chain/m-p/314107#M1108</link>
      <description>&lt;P&gt;I test it with a user Action so the code is fine..i dont understand why it doesnt work with the scheduler&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 14:39:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-schedule-an-automation-chain/m-p/314107#M1108</guid>
      <dc:creator>Nuxeo_User</dc:creator>
      <dc:date>2017-10-20T14:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to schedule an automation-chain</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-schedule-an-automation-chain/m-p/314108#M1109</link>
      <description>&lt;P&gt;Not sure if OP's problem was solved. If not, the reason why it wasn't working was because CoreSession is not injected when using Schedulers as mentioned in here&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 08:19:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-schedule-an-automation-chain/m-p/314108#M1109</guid>
      <dc:creator>Varun_Singh</dc:creator>
      <dc:date>2019-07-24T08:19:06Z</dc:date>
    </item>
  </channel>
</rss>

