AnsweredAssumed Answered

Checking uncommitted related data

Question asked by Jason Wood on Apr 4, 2017
Latest reply on Apr 5, 2017 by Jason Wood

When you edit related data in a portal, any calculations outside the portal that use the related data are updated immediately on screen (no commit required), however those same fields are not updated in the data viewer (or for any scripts that attempt to read those values) until after commit.


I'm trying to build an OnRecordCommit script to inspect the related data before commit, so that changes can be reverted if necessary, but since the script can't seem to "see" the changes to the related data, it seems to be impossible. And of course if I commit it, then I won't be able to revert it if it doesn't pass the tests.


Am I missing something?