AnsweredAssumed Answered

OnObjectSave Event Question

Question asked by mbornhoe on Sep 24, 2014
Latest reply on Sep 24, 2014 by mbornhoe

Title

OnObjectSave Event Question

Post

I have set an OnObjectSave trigger to a text field on a layout.  When I click in the field and modify it, the triggered script runs.  I also have a button on the layout that runs a script that will add some text to this field using set field and then go to the field.  When I press this button the text is added the field and has focus but when I press enter to save the change the triggered script does not run.  There is a passage in the documentation titled, "Changing object data without activating script triggers" but there is no mention of OnObjectSave behavior so I am asking if this is the expected behavior and if it is how can I get this script to run when the data in this field is changed via this button and the user commits the record.

Outcomes