Discussion2Replies1064Views RavitejaA Member since 2014 8 posts Scotiabank Posted: 5 years agoLast activity: 5 years 1 month ago Closed Can Cover and Covered belongs to same class?Hi,I have a requirement where i have to create cover and covered objects which are belongs to same class.Luckily i could save the casetype rule when i have added the same class as covered.But in the runtime the covered work object is not getting created. I have a page structure like thisp1-(Of class abc-def-work-p1) c1 (of class abc-def-work-c1) c2(of class abc-def-work-c1) I am using the pyCreateSubcase to iterate on a embeded page and create the cases for p items and c items.Note:Why am using the same class is, i have the components to nth level like c1,c2,c3,c4.....cn.So want to use same classc1 c2 c3 . . cnIs there any way to achieve this requirement Thanks,Raviteja Pega Academy ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion. Posted: 5 years agoDamien PEGA replied to RavitejaAHi, You are talking about case type ans suddenly embedded pages. A subcase "C" will not appear as an embedded page of "P" An embedded page will only be created when you use it so the loop will stop quickly. Using the flow pyCreateSubcase sounds a good plan to me but looping on embedded page won't work as a subcase is not embeded in a parent case. Plus, be carefull of a possible infinite loop here, create n levels of class like this mean you have a limit at instantiation time or you create sub classes on the fly when needed. Damien Pega Academy Support Team Posted: 5 years agosahup1 PEGA replied to RavitejaA>>> Can Cover and Covered belongs to same class? yes. example... MyOrg-FW-OBFW-Work-NewAccount has a case type in which, we could define the same class as coverable work type..