Question
Virtusa
LK
Last activity: 31 Oct 2018 0:13 EDT
Saving data to the Database
Hi,
Can you please give me example how to save data and retrieve data to a data base using activity steps.
Thank you.
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
@Jeevantha, if you are referencing the same page which your trying to save in the UI then by default the entered values in the UI fields will be available in your clipboard page. If you are using the different clipboard page in the Obj-Save step page then you need to set the property values using Property-Set method before you save the object. Bottom line of the concept is that your clipboard page should contain the values which you want to save to the database.
Pegasystems Inc.
IN
Hello Jeevan,
Kindly refer below PDN article for Obj- and RDB- activity methods for saving and retrieve info from DB.
https://community.pega.com/sites/default/files/help_v73/procomhelpmain.htm
Regards,
Praveen
Virtusa
LK
Hi,
Can any one please tell me the steps to save the data to the database. For a clear understanding
Thank You.
ANZ Banking Group Ltd
AU
Hi ,
You can use Obj-Save method in activity step to save the data into DB , by providing the step page for the step.
if you select write now flag transaction will be committed otherwise it will be differ save.
Thanks,
Virtusa
LK
Hay mahesh,
Before the obj-save method do i need to add a property-set. I'm entering the values from the application
Thank You,
Jeevantha Perera
Accepted Solution
Pegasystems Inc.
US
@Jeevantha, if you are referencing the same page which your trying to save in the UI then by default the entered values in the UI fields will be available in your clipboard page. If you are using the different clipboard page in the Obj-Save step page then you need to set the property values using Property-Set method before you save the object. Bottom line of the concept is that your clipboard page should contain the values which you want to save to the database.
SiXworks Limited
GB
This will vary quite a lot depending on the use case. We could quite easily just tell you to use an Obj-Open and an Obj-Save, but it is likely that we will be giving you bad guidance in your scenario.