cancel
Showing results for 
Search instead for 
Did you mean: 

Office documents execute 'on update items' rule 3 times instead 1.

joaquinortiz
Champ in-the-making
Champ in-the-making
Hello.

I have setup a rule that executes a script when some document is updated.

The problem is that when I edit online the document, if the document is an office document (.doc or .docx), the script is being executed 3 times instead of one, (one when I open the document to edit online, and other two times when I save the document)

Are there any solution to this?

Many thanks.
3 REPLIES 3

afaust
Legendary Innovator
Legendary Innovator
Hello,

unfortunately, when you use edit online, you will have to live with this. MS Office performs various modifications in multiple requests and each are "valid" modifications / updates on the node on their own right. Within a rule, you can not determine what actually has changed, so you can not react to that.
If you were using a Policy / Behaviour instead of a rule, then you could react to some context information and avoid execution in case a specific modification "does not interest you". Policy / Behaviour always requires activity by a developer / administrator - an end-user can not define these in contrast to rules.

Regards
Axel

joaquinortiz
Champ in-the-making
Champ in-the-making
Hello AFaust.

Ok, I suposse that yes, I will have to live with that.
Many thanks for your quick answer.

Regards.
Joaquin.

online1000
Champ in-the-making
Champ in-the-making
I also dnt know about this , if any body knows about this , please share your suggestion……………..