Hello,
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,
Pablo
Alfresco 5.2.4
For this complex use case, i would suggest to use behaviors and control the order of move in the behavior.
https://ecmarchitect.com/alfresco-developer-series-tutorials/behaviors/tutorial/tutorial.html
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.