Question
3
Replies
3209
Views
Posted: July 6, 2016
Last activity: July 6, 2016
Closed
Approach to update propagated values on the covered subcases when values are updated on parent case.
What would a good approach to update propagated values on the covered subcases when values are updated on parent case after creation of subcase. Can you please suggest few recommended patterns.
from my learnings
a. would a property-ref method helps? [but this has performance and passivation issues, I believe]
b. obj-open-by-handle of cover and update properties (acquireWorkObject, updateWorkObject, RecalculateAndSave, commitWithErrorHandling)
c. please try in post activity of the child flow action referring pyWorkcover.property update...[one or two properties]
d. refer the reused properties from database table so that where ever needed it will fetch the live data and can be updated either from child or parent. [will be best - when the property-sets are high in number]
e. while showing data on parent we could issue obj-open-by-handle and show/refer the data from child case itself instead of re-mapping from child to parent
f. refer smart shape 'update a case' (could be the best way)
https://mesh.pega.com/message/229048#229048