a. would a property-ref method helps? [but this has performance and passivation issues, I believe]
Data Propagation: Is used to re-use DATA
Data Transforms: Is used to re-use PROPERTIES Information which is referenced by Pages & Class mapping.
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)
Thanks Phani Sahukaru. My goal is to update the child case when a property on the parent case is updated. This property drives SLAs on my child cases. This property value can get stale on child subcases when parent is updated after child cases are created.
Smart shape "Update a Case" can be an easy option and it does have an option to update the all the child cases. But i was just wondering what if child class is locked or update fails for some reason. Help says if it fails, all the updates are rolled back. So do we need to implement retry logic ? Does smart shape implement any queuing machanism or retries OOTB to update child cases?
Posted: 4 years ago
Posted: 6 Jul 2016 8:17 EDT
Phani Sahukaru (sahup1)
Architect - Financial Services