Discussion
Water NSW
AU
Last activity: 16 Jul 2015 7:00 EDT
Create Different Sub Case Types Dynamically from a Page-list at the end of a stage
Hi,
The current features available in the case designer only allow to create several sub cases of the same type.
I need to create different types of sub cases from the list of items in a page list. The sub cases need to be created after a stage is completed. We couldn't find any method to do this using the case designer.
We are trying to do this using an OOTB way.
How can I do this?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
IN
I cant see this possible at case designer, though I tried a couple of ways.
Stage open for others to comment !!
Services Australia
AU
Hi ilhamUwais
Have you tried following options
Here items in pyCaseTypeList should be from different classes, and each class should have CaseType and Starting process names same.
Example pyCaseTypeList can be
pyCaseTypelist(Org-FW-FWName-Data-Fruit)
|-pyCaseTypeList(1)(Org-FW-FWName-Data-Fruit-Orange)
|-pyCaseTypeList(1)(Org-FW-FWName-Data-Fruit-Banana)
Hi ilhamUwais
Have you tried following options
Here items in pyCaseTypeList should be from different classes, and each class should have CaseType and Starting process names same.
Example pyCaseTypeList can be
pyCaseTypelist(Org-FW-FWName-Data-Fruit)
|-pyCaseTypeList(1)(Org-FW-FWName-Data-Fruit-Orange)
|-pyCaseTypeList(1)(Org-FW-FWName-Data-Fruit-Banana)
|-pyCaseTypeList(1)(Org-FW-FWName-Data-Fruit-Apple)
Vamshi
Pegasystems Inc.
IN
Vamshi, How can be Case type : pyStartCase (After selecting Other)? It should be defined from property .pxObjClass which will hold the right class name. Correct?
I understood your approach. But, I tried the same before posting my first reply. It is not working out. It is creating the the first case type(Orange, in this example) all the three times.
Pegasystems Inc.
IN
instead of smart shape - would it be convincing to use OOTB pxAddChildWork provided with a page list holding all the child classes?
Water NSW
AU
Hi Vamshi,
Thank you for your reply. it was very helpful.
However, we used a slightly modified logic. We included a decision table in the activity that creates the pagelist with the definitions of the different cases. This decision table returns the case type for the relevant sub class. We are providing that value for the Case Type parameter in the Create Cases shape.
This allows us to have different case type names. Please find the screen shot.
Thank you Kalyan and Sahup1 for your inputs as well.
Regards
Ilham
Services Australia
AU
Hi ilhamUwais,
The key to this implementation is creation of the PageList.
Vamshi
Water NSW
AU
Hi Vamshi,
Yes. Thank you. We got it working now :)
Regards
Ilham
Cisco Systems
IN
hi ilham,
I just like to know where you able to resolve the subcase and the parent case automatically designing through case desginer.
Regards
Bharath
Water NSW
AU
Hi Bharath,
Thinking ahead huh? :)
We bumped into the same issue. Please find below the thread regarding the same.
Regards
Ilham
Cisco Systems
IN
hi ilham,
Thanks and i tried to do the same thing in my sub case step but still it does not work. I manually update the status of the parent case as Resolved then also it gets commited when i look in the tracer but when i open back the parent case it still shows inprogress.
Attached is the screen shot of the stages and the step behaviour.
Water NSW
AU
Hi Barath,
Can you please raise the same question in the below thread?
Regards