Question
Passing Value from a Parent Case to a Child Case using Data Transform
Hi,
In Parent Case,
VehicleType : CAR, VAN, BUS
ChildCase : Depends on the vehicletype selected, it has to go to appropriate conditions officers such as CARCONDITIONOFFICER if the output from the Parent Case is selected as a CAR, IF van, it has to go to VANCONDITIONOFFICER to check the van Conditions for the insurance policy claims.
How to pass the value from parent class top sub class using data transform and how to propagate the data.
Thanks & Regards,
Rishi Kesava Reddy
***Updated by moderator: Lochan to update Categories***
Hi
pxAddChildWork can accept a datatransform of child class. In the datatransform of your child classes, you can declare the pyWorkPage as your parent class because pyWorkPage after your child case instantiation will still be of your parent case until the first assignment of your child case is met. You can keep the data transform of the same name in your child classes and set the required props from parent. Hope this helps.
Thanks
Ganesh