Hello everyone,
I want to add a behaviour to a space for making a pdf transformation and sending an email of this pdf. The actions should be executed for Incoming and Updating docs.
The scheme is:
Rule 1) if doc!=*.pdf -> transform to pdf and copy in the same folder. Applicable to INBOUND docs
Rule 2) if doc=*.pdf -> send an email with the doc. Applicable to INBOUND pdf docs.
Rule 3) if doc!=*.pdf -> transform to pdf and copy in the same folder. Applicable to UPDATE docs
Rule 4) if doc=*.pdf -> send an email with the doc. Applicable to UPDATE docs
The update part works fine but I have problems with incoming docs.
For example, when I copy a .txt file, it does the transformation and after that, Alfresco sends twice the pdf file (one as Incoming and one for updating).
If I erase rules 3 and 4, it works fine for Incoming docs but I lose the behaviour I want for Updating files.
Any help?
Thank you so much in advance.