Question
Question about data access pattern snapshot
Hi:
I'm learning Pega senior system architect course.
Regarding snapshot data access pattern, "The snapshot pattern copies data into the case. The application always references the copied data, so the data is only current as of the time the application copied the data.".
Then what is the usage of this snapshot pattern? If the data is only current as of the time the application copied the data, even if the data in the data source is updated, the data in the case is still the old data and never can be updated to the most current value, then it doesn't make sense to me to use this pattern.
Could you please explain that?
Thanks a lot for your help!
Ying
***Edited by Moderator Marissa to update Platform Capability tags****
In some scenarios the data should not be current, then we need to use this snapshot pattern.
For example, a new case is created for buying a car, at the time of billing if the selling price of car is 10k$ then throughout the case it shouldn't change even if it's value is updated.