AnsweredAssumed Answered

Is there a way to delay the triggering of a rule

Question asked by nimbus1958 on Jul 2, 2019
Latest reply on Jul 2, 2019 by abhinavmishra14_alfresco


In a folder (A), I have a rule that moves a document to another folder (B) after applying a custom type.

In that same folder (A), I have a rule which moves an XML file to a special folder (C) where this file is the base to the creation of another xml file.

The new xml file is then sent to the folder (B) where my first document was sent. Another rule in the folder (B) adds the metadata of the xml file to the document custom properties.


The problem is that my new xml file arrives in folder (B) before the document (probably due to size) and no transformation occurs!


I tried to use the javascript setTimeOut but Alfresco Javascript does not seem to recognize that function.


Is there a way to delay the triggering of that last rule to make sure the document is available?


Thanking you in advance,



Alfresco 5.2.4