Question

Copying Child Data to parent case

I have a requirement in which we are creating parent and child cases for particular case.Now i have to copy data in Child to a page list in Parent i tried using update a case smart shape but when i pass id a pxcoverkey the data transform i had to create in parent class since the data transform is in parent class i cant able to access child level properties there.if i create the Data transform in child class then at run time it will throw error as its expecting data transform at parent class.

how can we resolve this issue so that i can copy data from child to parent

Comments

Keep up to date on this post and subscribe to comments

September 26, 2019 - 5:34am
Response to MarcLasserre_GCS

i have gone through this but could you please elaborate more on how this can be done as i am using a data transform at child step for copying the child data

September 26, 2019 - 5:52am
Response to PraveenP7456

oh a Data Transform I see, could you try with an Activity instead I don't think all that will be easy to do and to maintain within simple Data Transform.

September 26, 2019 - 7:02am

Hi Praveen,

In the Data Transform that you have written in the child case you should use pyWorkCover.<Propety Name> so that it will get the data from parent case property(pyWorkCover is the key of parent case) in the target field for any source property you want.

 

Regards,
Vikash

October 4, 2019 - 4:34am
Response to Vikash Karn

Hi Vikash,

Could you please elaborate more on this my requirement is to copy data from child to Parent.