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 11, 2017 - Updated January 23, 2017


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.