Last activity: 25 Oct 2015 4:26 EDT
An error occurs at the time of MultipleChildCase practice. Please tell me the workaround
I make MultipleChildCase and set PageList named "Hoken" in "For each item in list" and carried it out, but Error called "HRPl-TMHRPlan-Data-Hokenkeiyaku is not a covered class" occurs.
Page definition of "Hoken" "is HRPl-TMHRPlan-Data-Hokenkeiyaku".
When I made Section, I was able to refer to Property from "Hoken". However, why can I not refer with this case?
Please tell me about a method avoiding this error.
Please provide more details:
What rule are you having problems with? Where?
What version of the product are you using?
Please provide more information about your configuration.Do you have a case type with covered sub cases?
What version of pega are you using, whether you have referred Hoken in the CreateCases smart shape?
Normally the subcases pagelist would be referred and case type of that subcase would be called and subcase case would be created.
I thank for the reply of everybody.
The environment is as follows.
Pega 7.1.9 Personal Edition
I made DataPage of the following classes from add data types.
I made PageList of "Hoken" afterwards in the following classes.
I set "HRPl-TMHRPlan-DATA-Hokenkeiyaku" in "HRPl-TMHRPlan-Work-HRPlan" and Page definition.
I do the following setting from CreateCases of SmartShape, but an error occurs.
Define automation: Create Multiple Child Case
For each item in list: HRPl-TMHRPlan-Work-HRPlan.Hoken
Starting Plocess: HRPlanEntryReview
It is taken following steps normally for your information when I set it.
Define automation: Create a Child Case
Starting Plocess: HRPlanEntryReview
Please confirm it.
Make sure that " Copy page data to new subcase" is not checked. When we select this, pxObjClass of the paga list is also copied and I guess this is causing the error. If you wish to copy the pagelist, use data tranform param and copy the data.
Thank you for a reply.
I set PageList of Hoken in Data prpeagation and allow me to refer to PageList with a subcase.
Besides, is setting necessary?
I found check box of "Copy page data to new subcase" and I checked it and carried it out, but the same error occurred.
HRPl-TMHRPlan-Data-Hokenkeiyaku is your class? sorry to ask...
I think "HRPl-TMHRPlan-DATA-Hokenkeiyaku" is my class.
because I can refer to it as a section.
What should I do to confirm that it is a class definitely?
sorry again, are you trying to add "DATA-" class instance as your child workobject?
Please tell in particular me the setting method because I was not conscious.
could you please let us know your child class... which is added as coverable item in pyDefault case type rule... Thank you!
I added Coverable work types to pyDefault of parent class.
but I did not add Coverable work types to pyDefault of child class.
>>> I added Coverable work types to pyDefault of parent class.
adding here is enough. what class you've added here?
It is child case.
and I added Data Propergation
Hoken is PageList.
are you using smartshape or direct API pxAddChildWork?
I am using smartshape.
Thank you, everybody.
I was able to solve this problem.
It was caused by the fact that I referred to PageList same as ParentCase in SubCase.
However, a new problem occurred.
I was able to make Multiple SubCase.
I want to display the information by 1 record of PageList which I set in "For Each Item in list" for each SubCase, but all records of PageList are displayed.
If there is a good method, please tell me.
could you please try the following ...
- disable Data Propagation of entire page list
- enable copyPageData (true) at pxAddChildWork/smart shape
- and last - if makes sense, please add a preActivity to the flow action of childs first assignment to remove items in the page list which are not releated to the current child object.