cancel
Showing results for 
Search instead for 
Did you mean: 

Get Action status

vladislavlysov
Champ in-the-making
Champ in-the-making
Hello!
  I have a problem. I'm create a rule(for INBOUND, OUTBOUND, UPDATE) and action for folder. But when I hook the action in my java class(extends from ActionExecuterAbstractBase class) I don't know, how to get status for node(deleted, modified or created). One way for resolved this problem - it's a comparison uploaded_date and modified_date properties from a node. But it's not good. If anyone know how to do it, please, answer.
Thank you.
2 REPLIES 2

lementree
Champ on-the-rise
Champ on-the-rise
Hi

I think the best way to do this by Action Behaviour's Policies like OnContentUpdatePolicy, OnContentPropertyUpdatePolicy,  onCreateNode etc.

vladislavlysov
Champ in-the-making
Champ in-the-making
Hello.
Yes, I think about it's, but still would like to know whether a solution to my problem with the actions and rules.
Thank you.