Question
Mediatek Inc. China
CN
Last activity: 8 Oct 2025 15:06 EDT
How to execute activity for guest user while url encryption was enabled
We're currently running with PEGA 8.3.1, and trying to upgrade to PEGA 8.7.4.
Previously, the pzAuth=guest can be used to run an activity for anonymous users.
For example, via link: https://pegahost/prweb/IAC/!STANDARD?pzAuth=guest&pyActivity=GetServerStatus.
After upgrading to PEGA 8.7.4, the URL encryption was enabled.
And the same URL will return 403 error then.
Seems, we need to use pzuiactionzzz... format URL. But we have no idea how to get such a URL for anonymous users.
We've tried to encrypt the URL with function as below:
@pzEncryptURLActionString(tools, "persistent", "pyActivity=GetServerStatus")
For the scope parameter (the second parameter), it can only take either requestor or thread as input.
And the function will return empty string if we try to use "persistent" as scope.
So, does anyone know how to How to execute activity for guest user while url encryption was enabled?
Thanks very much.
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 9 Dec 2024 20:42 EST
Maantic Global IT Solutions
IN
This function supports thread/requestor/global level.
@Utilities.pzEncryptURLActionString(tools,"Global", Local.URLActionString) OR
@Utilities.pzEncryptURLActionString(tools,"Thread", Local.URLActionString)
Local.URLActionString is the part of the url you want to encrypt.
For example, Local.URLActionString = "[email protected]"
IBM
IN
@GAVINHSU if your aim is to login with pega without entering credential means you can also try with snapstart module. You need to create some test operator in pega and then every time you need to pass the username and password to the url. it will directly login with that portal without entering any credential in log in screen. Please note your password should be encrypted with base64 format .you can also refer below links for snapstart module in pega
let me know if you need any further queries on this.
Accepted Solution
Updated: 9 Dec 2024 20:42 EST
Maantic Global IT Solutions
IN
This function supports thread/requestor/global level.
@Utilities.pzEncryptURLActionString(tools,"Global", Local.URLActionString) OR
@Utilities.pzEncryptURLActionString(tools,"Thread", Local.URLActionString)
Local.URLActionString is the part of the url you want to encrypt.
For example, Local.URLActionString = "[email protected]"
Mediatek Inc. China
CN
@Avik MitraThe "global level" seems to be a good idea. Thanks very much.
rowap
AS
Hi guys, I can see
https://community.pega.com/sites/default/files/help_v81/procomhelpmain.htm#mobile/concepts/mob-use-snapstart-module-outside-sdk-con.html/ heardle
Pegasystems Inc.
IN
@GAVINHSU - Instead of doing explicitly encrypting the url its best to use url mappings. Its a short url and not needed any encryption. Please go through below link which shares a example of how to open the case using the url mappings.
https://support.pega.com/discussion/theme-cosmos-configure-url-mapping
Thank you.
Mediatek Inc. China
CN
@Priyanka BogaThanks very much for reminding.
ATH
US
@GAVINHSU It's recommended to use url mappings rather than outright encrypting the URL. Since the URL is brief, encryption is not required. To see an example of how to open the case using the url mappings, please click the link below.
Learn more on https://support.pega.com/question/how-execute-activity-guest-user-while-url-encryption-was-enabled io games
Mediatek Inc. China
CN
@HenryK17323747 Thanks very much for reminding.
Mediatek Inc. China
CN
We've tried with URL mapping, but it seems nor working.
Probably because we're using the Web Mashup?
We're gonna submit support ticket for the URL mapping issue.
Thanks anyway.
US
@GAVINHSU It's recommended to use url mappings rather than outright encrypting the URL. Since the URL is brief, encryption is not required. To see an example of how to open the case using the url mappings, please click the link below.
Learn more on https://support.pega.com/question/how-execute-activity-guest-user-while-url-encryption-was-enabled poptropica
Interesting challenge with PEGA upgrades! Have you explored adjusting the authentication service rule? Specifically, could you modify the "guest" access group privileges within PEGA to allow specific activity execution for unauthenticated users? Perhaps that bypasses the need for encryption altogether. Good luck debugging!