Question

2
Replies
426
Views
DavidC48 Member since 2017 1 post
Revature
Posted: July 13, 2017
Last activity: July 14, 2017
Closed
Solved

How to obtain back Primary KEY in Pega for new Object saved in Oracle External Database generated by sequence/trigger on database side.

I saved an object to an external Oracle database with the Activity method Obj-Save, and was wondering if there was a way to get back the primary KEY of that object that was generated from the external DB side via a trigger sequence. I checked and the key is being generated successfully in the external database, but need to obtain it instantly to create and save other objects that are dependent on that primary KEY.

Low-Code App Development Data Integration
Moderation Team has archived post
Share this page LinkedIn