Skin not rendered when Pega is launched from external application

Hello,

I have a Peg 7 application and I am opening the Pega 7 cases from an external application. The requirement is, there will be links in that application for the cases, when user clicks on the link, the corresponding case will be opened in a new thread.

We are using RedirectAndRun functionality in Pega to open the case in new thread. But the issue is application Skin is not loaded.

Can anyone please help on this issue?

@avisekmondal Hi, Were you able to find any solutions for the issue?

@ShambhuTiwary yes…i found a solution for this.

Hi @avisekmondal,

So glad that you found your solution! It would be great if you could share that and then we can mark your reply as the Solution to help others, like @ShambhuTiwary!

Thanks in advance!

@avisekmondal please share the solution we have similar situation

@avisekmondal Could you please share the solution.

@PankajS3454

Create an activity with following steps to open the case in Review mode with correct skin -

Step 1) Java -

String inshandle = “”; (the case key may be passed as a param in url and needs to be mapped in the activity)

tools.putParamValue(“RedirectLocation”,“pyActivity=Work-.Open&Action=Review&HarnessPurpose=Review&pzSkinName=&InsHandle=”+insHandle);

Step 2) Call activity RedirectAndRun with below params

ThreadName - Give a thread name

AccessGroupName - Provide the access group of the user who is opening the case. Its upto you how you want to get it

Location - Param.RedirectLocation set in the Java step previously

bPurgeTargetThread - true

bEncodeLocation - true

Let me know if it works for you!