As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hi 🙂 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:
You need to setup an event handler that will catch the event you created (DeleteTrash) and call your automation chain (DeleteTrashOperation)
<extension target="org.nuxeo.ecm.core.operation.OperationServiceComponent" point="event-handlers"> <handler chainId="DeleteTrashOperation" postCommit="true"> <event>DeleteTrash</event> </handler> ...
I dont understand this
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
Can you show us your custom operation DeleteTrashOperation ?