Display Multiple Cases which got created in constellation

I have the below requirement. It would be really helpful if anybody could suggest me a approach to display multiple cases.

  1. In a interaction , I’m creating a case let’s say it is create trip.
  2. After create trip case is resolved, i should be able to clone it for multiple dates, the dates are provided by user.
  3. So my approach is when the case is resolved, i’m displaying local action and in that a pagelist property to capture dates.
  4. post submit of local action i’m using activity to create cases.
  5. The cases are getting created in the backend but in the front end i’m unable to open.

Alternative which i tried.

1.I copied pyID,pzInskey to a pagelist property and showed that in the UI. But on click of pyID it is not opening the case, even though it’s a link.

Here are the troubleshooting ideas,

  1. Check for console errors or network tab.
  2. Check the tracer for any clues.
  3. Check if you’re able to open the case instance directly from Dev Studio to isolate the problem with the link

@SaiM8658 the only way I know of keeping the interaction in context is via Launch one service case from another - Pega CS constellation. However, I have heard there are some downsides to this approach too.

A better approach is to display the created cases in a table sourced with proper case references and open them using OOTB case navigation, rather than only copying pyID and pzInsKey into a plain Page List and expecting the link to work automatically. case-opening behaviour depends on the correct open action and portal context, not just showing the case ID as a hyperlink.

Also, Instead of resolving the original case first and then creating additional cases from a local action, you could create the new cases before resolution by iterating over the date Page List. Pega supports creating multiple cases using a list, which is a more OOTB way to handle one-case-per-date creation.

Then, before resolving the original case , store the created case references on the initiator case and display them in a standard table/related-cases area. That way the newly created cases can be previewed and opened using OOTB case navigation rather than trying to manually construct links from pyID/pzInsKey after the fact.

Optionally, you can make tag the new cases as child cases and initiator case as a parent case which brings all the above options implicitly.

Another very practical alternative is to build a report/table of the cloned cases linked to the original trip case and let users open them from there, rather than relying on a manually constructed Page List link

If you are creating cases instances, then you can use listview to display the cases and have link in any column.

Create a data page that can fetch these list of cases and configure a list view sourced from that data page in one of the tabs inside the interaction. Here you can configure the pyID column as a link to an object that can open cases. But, what I am not sure is whether these cases will be opened inside the interaction or outside of it.

If you copy these to a pagelist (embedded data in terms of constellation), system cannot form it as a link to a case. It treats it as a normal text.