Outbound rule for delete/move
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2007 11:43 AM
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
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
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2008 12:01 AM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2011 06:21 AM
hello,
I have the same problem….
I have the same problem….
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2012 08:49 AM
Is anybody able to define this rule .. I am also looking for this …thanks in advance!!!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2012 09:45 AM
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/….