Inside Parent I am running an activity to create 2 child cases .
Now inside the Parent casetype class one pagelist is there called "NumberofElements" and 2 pages are there under it i.e. NumberofElements(1) & NumberofElements(2) and some as usual properties are there under them .
I need to copy NumberofElements(1) data to only first child case .
I need to copy NumberofElements(2) data to only second child case .
Currently I am using an activity for that but it is getting lengthier . Can anyone suggest how can we achieve this by normal data propagation . Like how do we specifically propagate data(i.e. pagelist) when multiple child cases are there.
Note - I can't just directly hardcode the index values while data propagation functionality .
For this requirement, you can use create case smart shape where there is an option to create the child cases with the pagelist and pass each of the page to child case as a param. You can see the option as param. This helps in passing the each of the page in the pagelist as a parameter.