Greetings!
we have the following situation in the case architecture:
- In the parent case there is a page list with n elements
- then child cases will be created for each element from the page lilst in parent case
- after all elemts are processed on child case level the case returns to parent case
so far so good - here is the requirement/ question I don’t know how to achieve
- I need to read certain data that have been created in the child cases.
- Since the elemts in child cases are handeld as single pages (one single page in child case for each element of the page list from parent) I would need to iterate over all created child cases to propergate certain data back to e.g. the page list of the parent case
- Please help me out with some ideas how to achive this - thx in advance
Hi @DanielS16824626,
All of the properties in child case properties are single value and available in Top level of the Child Case
If Yes,
Then create a report definition to filter by using parent case ID, then create a data page and map that report definition to parent case. Then create a page list property and copy that data from data page to parent case.
If No,
Create an Index class and create a declare index rule to map all the properties which will be available in Pages (Top-level, nested, etc..) then create a report and data page and copy the values to parent case.
Thanks.
@DanielS16824626 you can try this one too. You can open the child cases from parent case using obj-open-by-handle and then copy/update the data from child to parent. Inzkeys will be there in pxcoveredinskeys property in parent case pyworkpage.
@DhanasekarC0202 @Anoop Krishna
Greetings! Thnak both of you for your suggestions. We solved it by using a updace case shape. In the page list we provided each page lsit with a property which holds the index. With help of this we were able to update a certain page in the list in parent class from the child cases.