cancel
Showing results for 
Search instead for 
Did you mean: 

Outbound rule for delete/move

itayh
Champ in-the-making
Champ in-the-making
Hi All,

I want to define a rule that on delete content do javascript X and on move content do javascript Y.
The only option I have is outbound rule that apply for delete and move.

Is there a way to identify the action (delete or move) from the javascript of outbound rule?

Thx in advance,
  Itay
4 REPLIES 4

im2x3m4u
Champ in-the-making
Champ in-the-making
my problem is the same,
how i can identify that the document was deleted not moved?

i need this to create rule that send email to admin tell that a document has deleted from the space. When i put the rule on outbound the admin also got email when the document was moved.

Is there a way to solve this issue?

Please help,

Adi

sjeandroz
Champ in-the-making
Champ in-the-making
hello,

I have the same problem….

ashwini
Champ in-the-making
Champ in-the-making
Is anybody able to define this rule .. I am also looking for this …thanks in advance!!!

amandaluniz_z
Champ on-the-rise
Champ on-the-rise
you cannot defile the rule just for move and not for delete…. but what you can do in the executed javascript is check if the node still exists. There is no explicit method for that but if you use the toString() method and the node doesn't exist it will return something like:

Node no longer exists: workspace://SpacesStore/….
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.