Uncommitted data in objects not getting passed to javascript action
0
I am creating a javascript action that will create some audit entities, it will take 2 of the same objects (A copy from before changes and then the latest version after changes) and then compare them However I am getting an issue with the objects being passed, my "latest version" entitiy does not contain any of the changes and my duplicate also contains no data. (I have used a show message action before to confirm the duplicate does have data and it definitely does) I tested by committing the objects before calling the javascript action and it now works, however I don't really want to be committing the duplicate if I can help it. How can I use the javascript action without committing the entities before?