Question

8
Replies
1411
Views
IsraelC8602 Member since 2017 4 posts
Rulesware
Posted: 1 year ago
Last activity: 1 year 4 months ago
Closed

Create a new case and display it in a new tab when Portal loads

Hello everyone!

Just wanted to know if there are any general suggestions on how to create a case automatically when a specific portal loads. I'm using the Interaction Portal from Customer Service framework, so I have done the following development:

  1. Copied @baseclass.preDisplayHarness activity to the business layer.
  2. Added an activity on step 1 to create a case. This step is conditioned to be executed only when Param.harnessName=="CPMInteractionPortal".

This creates a case every time this particular portal loads. To accomplish my requirement, I will add other conditions to the execution of my activity inside preDisplayHarness, so there is no need to worry about too many cases getting created just by loading the portal.

So, this is the issue:

Even if I can create a case using @baseclass.doUIAction activity, this doesn't open the case on a different tab. This conversation is related to this other post, but I wanted to ask in this post if there is any other way apart from using doUIAction activity in order to create a case when portal loads, and then display it.

Once again, thank you so much!

***Edited by Moderator: Lochan to update platform capability tags***

Pega Customer Service Case Management
Moderation Team has archived post
Share this page LinkedIn