Question
Accenture
IN
Last activity: 3 Jun 2022 5:49 EDT
Unable to open a work object using link in the email
By clicking on the link in the email, It is opening the portal and not opening the assignment or case. Could anyone pls provide solution for this?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 25 Sep 2021 12:27 EDT
Deloitte
IN
@SnekhaK0 - When you are using "OpenAssignment" in pyMobileSnapStart, you must pass these 2 parameters correctly in the URL -
- InsHandle - This is the pzInsKey of the assignment (Starts with something like ASSIGN-WORKLIST CAPGEMINI-HR-WORK R-2!COLLECTJOBDESCRIPTION_FLOW)
- InsClass - The class of the assignment (Starts with Assign-)
Construct these 2 parameters correctly and test. The below is an example which I have used -
Action=openAssignment&InsHandle=ASSIGN-WORKLIST CAPGEMINI-HR-WORK R-2!COLLECTJOBDESCRIPTION_FLOW&InsClass=Assign-
Maantic
IN
@SnekhaK0 -Ideally you would need to setup DWA to directly open up the case from email. Please refer the below link for DWA.
https://community.pega.com/knowledgebase/articles/application-development/85/directed-web-access
Updated: 5 Aug 2021 1:03 EDT
Deloitte
IN
@SnekhaK0 There are 2 options to cater to this functionality (assuming the user, trying to perform on the assignment, is a valid operator in Pega) -
1. Use Assign-.ProcessAssignment activity as a parameter in the URL - This has a limitation that the assignment will be shown without the portal header and the navigation sidebar, but the user can take all the necessary actions on the case/assignment.
2. Use pyMobileSnapStart activity as a parameter in the URL - This would make sure that the assignment is shown appropriately in the portal. This activity can be used outside SDK and the functionality can be accomplished by entering an appropriate URL in the address field of the mobile browser or a desktop browser. This activity can be used to perform the following tasks -
- Create a case
- Open a case by ID
- Show Harness
- Open an assignment
- Run activity
Every task has its own set of parameters, apart from the common optional parameters. All you need to do is construct the URL correctly by passing appropriate parameters - for example;
https://XXXXX:8080/prweb?pyActivity=pyMobileSnapStart&Action=openAssignment&InsHandle=ASSIGN-WORKLIST CAPGEMINI-HR-WORK R-2!COLLECTJOBDESCRIPTION_FLOW&InsClass=Assign-&pyShowFullPortal=true
@SnekhaK0 There are 2 options to cater to this functionality (assuming the user, trying to perform on the assignment, is a valid operator in Pega) -
1. Use Assign-.ProcessAssignment activity as a parameter in the URL - This has a limitation that the assignment will be shown without the portal header and the navigation sidebar, but the user can take all the necessary actions on the case/assignment.
2. Use pyMobileSnapStart activity as a parameter in the URL - This would make sure that the assignment is shown appropriately in the portal. This activity can be used outside SDK and the functionality can be accomplished by entering an appropriate URL in the address field of the mobile browser or a desktop browser. This activity can be used to perform the following tasks -
- Create a case
- Open a case by ID
- Show Harness
- Open an assignment
- Run activity
Every task has its own set of parameters, apart from the common optional parameters. All you need to do is construct the URL correctly by passing appropriate parameters - for example;
https://XXXXX:8080/prweb?pyActivity=pyMobileSnapStart&Action=openAssignment&InsHandle=ASSIGN-WORKLIST CAPGEMINI-HR-WORK R-2!COLLECTJOBDESCRIPTION_FLOW&InsClass=Assign-&pyShowFullPortal=true
However, if the user, trying to perform the assignment, is an external user, you would need to implement DWA as mentioned by Kalinga.
-
Snekha Kannapiran
Updated: 4 Aug 2021 12:38 EDT
Accenture
IN
@SumitHazraThanks for the above solution. I have tried to implement using pyMobileSnapStart Activity as mentioned below.
https://eu-dt1.pegacloud.io/prweb/sso?&pyActivity=pyMobileSnapStart&Action=openAssignment&InsHandle=CHSS-BSL-WORK I-111449&InsClass=Assign-&pyShowFullPortal=true&pyPhoneNavRuleMainVisible=true
But it is showing the below error as mentioned in the screenshot. Please provide a solution for that.
P3Fusion
IN
@SnekhaK0 Based on the screenshot....While opening assignment via snapstart URL...the activity "OpenAndLockWork" was not able to pick by rule resolution from the specified class... Please make sure to discard the activity changes from your application class.
This activity was final...pls avoid customizing these activities.
Accepted Solution
Updated: 25 Sep 2021 12:27 EDT
Deloitte
IN
@SnekhaK0 - When you are using "OpenAssignment" in pyMobileSnapStart, you must pass these 2 parameters correctly in the URL -
- InsHandle - This is the pzInsKey of the assignment (Starts with something like ASSIGN-WORKLIST CAPGEMINI-HR-WORK R-2!COLLECTJOBDESCRIPTION_FLOW)
- InsClass - The class of the assignment (Starts with Assign-)
Construct these 2 parameters correctly and test. The below is an example which I have used -
Action=openAssignment&InsHandle=ASSIGN-WORKLIST CAPGEMINI-HR-WORK R-2!COLLECTJOBDESCRIPTION_FLOW&InsClass=Assign-
Intel Technology India PVT Ltd
IN
HI @SumitHazra,
We are facing the same issue where Portal Navigation sidebar is not visible while opening a case from Email link. Currently, we are on Pega 8.7.1 version just for your reference.
Case Id is opening specific Case in portal without left navigation sidebar. We would like to open full user portal (having navigation sidebar), while opening a case Id from email link.
I have posted another query on
https://collaborate.pega.com/question/hyperlink-correspondence-rule-open-case-id-along-full-portal
Any inputs would be appreciated!