How to check whether gr.update() failed due to setAbortAction(true)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2013 08:51 AM
How to check whether update happened successfully or not?
I have created transform map, where I am updating multiple records in onBefore() script.
but meanwhile some BR written on same table aborts the update using setAbortAction(true).
I want these BRs to execute and abort incorrect data update. But problem is I can't find in transform map whether update happened or not.
I want to stop execution of further operations written in Transform Map if record did not updated.
Is there any way to find whether update using gr.update() did not happened? So I can display error message and stop further actions (updates) written in transform script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2021 10:13 PM
Thanks, it worked!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2023 06:18 AM
This isn't working for me. I'm prevented from updating a field due to ACLs but am still receiving the sys_id even though the field is not updated