AnsweredAssumed Answered

How to cancel record commit within OnRecordCommit script?

Question asked by RedL on Jan 30, 2011
Latest reply on Oct 8, 2014 by kmtenor

Title

How to cancel record commit within OnRecordCommit script?

Post

I setup a script for OnRecordCommit.  Within the script, I would like to have option(user decide commit or not) to cancel the commit action.  How can I cancel the commit and keep the record same as before it enters to OnRecordCommit?

I try the other way to have same function.  I have user option UI on each navigator script.  It works for the above requirement.  But, how do I know the record and portal records are changed? I would like to show the commit or cancel UI only when record and/or portal records are changed.

Outcomes