You won't be able to pass this data to a script performed by OnObjectModify the same way that you would for OnObjectValidate as you have discovered. I think that you'd need to pass just the field names and not their values to the script as parameters and use getField to get the fields' values during script execution as apposed to passing the value as a parameter.
Why do you need to use OnObjectModify? Why not just stick with OnObjectValidate?
1 of 1 people found this helpful
It sounds like the difference between Post and Pre triggers. OnObjectValidate runs the script before the event that triggered it while OnObjectModify runs the script after the event that triggered it. Here's a link to a list of pre and post triggers. Hope this helps!
Thanks all for responding. It turned out that the trigger that worked for me was OnObjectSave.