Closed
Solved
DataSet Vs Obj Methods
Hi,
What is the best option to perform the Save, update delete, and browse operation on data type? In my case, I have to deal with a bulk amount of data. I want to understand which of these two options will be the best fit.
Thanks,
***Edited by Moderator Marissa to change type from Pega Academy to Product***
To see attachments, please log in.
@AAV7601Hi there,
I´m assuming you´re not dealing with datasets, but are simply looking at how to handle database operations for concrete instances (data types add the element of persistance to data classes). In that case, what we usually do is:
Now, if you have a larger dataset, there are plenty of options too. You can recursively call the activity again if there are more results, and let a queue processor handle the other database operations asynchronously. Or if you want to schedule it, use a job processor to run the activity every x minutes.