Getting whether Noderef is created or modified or deleted using Javascript

cancel
Showing results for 
Search instead for 
Did you mean: 
kranthi
Active Member II

Getting whether Noderef is created or modified or deleted using Javascript

Hi,

I am trying to get the whether nodeRef is created or modified or deleted using javascript. To send mail by using rules having subject like Added files into Your folder/ Your folder is modified Your folder is deleted.Depending on status of node.How'll get by using javascript.

3 Replies
douglascrp
Advanced II

Re: Getting whether Noderef is created or modified or deleted using Javascript

I am almost sure you can not identify that, as the rule is simply "executed", but here is no context provided. (if that is not true, and I am going to learn a new hat trick )

If you need different behaviours for different situations, why not simply having two different rules, each of them dealing with the different trigger?

Another option would be developing custom behaviours, where you could be using Java or JavaScript.

kranthi
Active Member II

Re: Getting whether Noderef is created or modified or deleted using Javascript

Now I using different rules for each occurrence,I am check for is there any possibility to do in single rule.

Actually I observed that there is some delay in uploading files after adding notification rule.Is this delay because of email notification  before file adding to folder?? 

douglascrp
Advanced II

Re: Getting whether Noderef is created or modified or deleted using Javascript

That maybe the case.