02-03-2017 05:07 AM
Hi,
I have a script that has to execute certain functions based on the action (on Add, On Update and on Delete) that occurs on the node when the rule runs. Example case : The script needs to find which of those 3 actions occurred for it to perform a function.
Right now I have the 3 scripts and 3 Rules on one folder, which is a bit unclean.
Is there a way I can get to know which action (Add, Update or Delete) occurred on rule execution?
Many thanks
~Vusani
02-03-2017 06:50 AM
Hi,
It seems that you don't want 3 scripts and 3 rules to be applied on a folder.
If that is the case then, you can get it done by creating custom behaviour/policy.
You can identify what action is being performed on the node, for example: whether users attempt delete, update or add actions on a node.
For more information you can refer Behaviours / Policies | Alfresco Documentation
Let me know if you have further query.
Thanks,
Kalpesh
02-03-2017 08:03 AM
Hi Kalpesh,
This is indeed along the lines of what I am looking for. I will write feedback soon on the update.
Thanks
~Vusani
Explore our Alfresco products with the links below. Use labels to filter content by product module.