Discussion
INFOTEC INC.
JP
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.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems
Hello Junya,
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?
Pega
IN
Hi
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.
INFOTEC INC.
JP
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.
"HRPl-TMHRPlan-DATA-Hokenkeiyaku"
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
CaseType: HRPlanEntryReview
Starting Plocess: HRPlanEntryReview
It is taken following steps normally for your information when I set it.
Define automation: Create a Child Case
CaseType: HRPlanEntryReview
Starting Plocess: HRPlanEntryReview
Please confirm it.
Pegasystems Inc.
IN
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.
INFOTEC INC.
JP
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?
Unfortunately
I found check box of "Copy page data to new subcase" and I checked it and carried it out, but the same error occurred.
Pegasystems Inc.
IN
HRPl-TMHRPlan-Data-Hokenkeiyaku is your class? sorry to ask...
INFOTEC INC.
JP
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?
Pegasystems Inc.
IN
sorry again, are you trying to add "DATA-" class instance as your child workobject?
INFOTEC INC.
JP
I'm sorry.
Please tell in particular me the setting method because I was not conscious.
Pegasystems Inc.
IN
could you please let us know your child class... which is added as coverable item in pyDefault case type rule... Thank you!
INFOTEC INC.
JP
I added Coverable work types to pyDefault of parent class.
but I did not add Coverable work types to pyDefault of child class.
Pegasystems Inc.
IN
>>> I added Coverable work types to pyDefault of parent class.
adding here is enough. what class you've added here?
INFOTEC INC.
JP
I added.
"HRPI-TMHRPlan-Work-HRPlanEntryReview"
It is child case.
and I added Data Propergation
"SyainBango SyainBango"
"SyainMei SyainMei"
"Hoken Hoken"
Hoken is PageList.
Pegasystems Inc.
IN
are you using smartshape or direct API pxAddChildWork?
INFOTEC INC.
JP
I am using smartshape.
INFOTEC INC.
JP
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.
Pegasystems Inc.
IN
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.