Error handling in database operations
Hi,
I usually write database operation as below - Pega-New, Property-Set, Obj-Save, and Commit. I don't know how to write error handling if anything goes wrong during these steps, but I think this is not great. For example, shouldn't I always include Rollback steps? If so, where and how? Or, if there are any more standard practice to handle error, please let me know. Screenshot helps.
Thanks,
***Edited by Moderator Marissa to updat General to Product; update platform capability tags***