Open Assignment with sharable Link.

We can now open Work Item like when using the “Open Work By Handle” action on Section rule with a shareable link (simple URL) by referring to the link below.

https://support.pega.com/discussion/theme-cosmos-open-work-object-full-portal-copy-sharable-link

But our customer wants to edit without pressing the “Go” button, like when using the “Open Assignment” action on Section rule.

How can we meet their requirements?

@HirokazuA We had a scenario to open assignment directly in full screen & we used code like below

https://hostname:port/prweb/PRAuth/customsso/app/AppName_9944?pyActivity=pyMobileSnapStart&Action=openAssignment&InsHandle=“+param.AssignmentHandle+”&InsClass=“+param.AssignmentInsClass+”&pyShowFullPortal=true&pyPhoneNavRuleMainVisible=true"

@Byshu_Ayyappaswamy

Thank you for your reply.
I implemented it as suggested, but it didn’t work.
The screen is distorted and I can’t edit the form…

@HirokazuA UI missalligment might be caused by openning the link using developer access group.(It loads Dev Studio skin etc.) Can you please change your default access group to end-user one, logout from pega and then try again?

@MTSxyz

Thank you for your reply. I implemented it as suggested, but it didn’t work.

This time I got 403 error.

@HirokazuA A few version ago (8.5?) pega introduced security mechanism that blocks some requests.

You can check out this documentation and adjust whens, if necessary: Pegasystems Documentation

@Byshu_Ayyappaswamy, @MTSxyz

Thank you for your advice!

By referring to and executing the provided documentation, we were able to meet the customer’s request.

The following is a summary of what we have implemented.

  • Override pyBlockUnregisteredRequests as below. (Change operator)

  • Access with URL that includes up to the application name and login with the account that uses the user portal.

ex. https://hostname:port/prweb/PRAuth/app/appname

… If you accessed by URL without the application name, the login operation is required because the requestor will be changed.

  • Open a new tab and enter a URL like the one below:

https://hostname:port/prweb/PRAuth/app/appname?pyActivity=pyMobileSnapStart&pyShowFullPortal=true&Action=openAssignment&InsHandle=ASSIGN-WORKLIST%20MYORG-APPNAME-WORK%20A-1001!INPUT_FLOW

** I prematurely said that it could have been done, but upon closer examination, the procedure was missing, and I have corrected the description. Our apologies.