Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Assignment Link failed to generate properly

SA-32346

Summary



The out of the box AssignmentLink correspondence rule is not working as expected when agents are involved. The AssignmentLink rule relies on the pxRequestor.pxReqContextURI property and pxThread.pxReqServletName to form the link to the assignment. When an email correspondence is sent, the link within the email does not have the proper URL when it launches from an Agent requestor. 


Error Messages



Not Applicable. 


Steps to Reproduce

  1.  Create a flow with two level approval system.
  2.  Set up first assignment shape which will send an email for approval.
  3.  Once a reply mail is send back , Pega will proceed the first assignment and move the item to second approval assignment. 
  4.  Send an email from second assignment for approval.
  5.  The second approval email lack the proper URL to open the assignment. 


Root Cause



An issue in the custom application code or rules.

Resolution



Perform the following local-change:
In '
AssignmentLink' correspondence fragment

replace the code  {pxRequestor.pxReqContextURI LITERAL}/{pxThread.pxReqServletName LITERAL}  with <%=pega_procom_pegaprocomutilities.getPublicLinkURL()%> . 

 

Published January 24, 2017 - Updated October 8, 2020

Was this useful?

50% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us