We have general catalog items that we have set up custom notifications for and have noticed that on these items when the Request for Approval email is sent to the approver, two of the variables do not get translated. This happens intermittently on these emails for the same catalog items.
The emails do translate the ##ViewRequest## and ##RejectRequest## variables correctly, but the ##ApproveRequest## and ##AutoApproveRequest## end up blank when the user receives the email.
We use the following in the emails - which does work properly if the global notification is used.
Oct 16, 2019 11:40 AM
I took a quick look at the code, and it appears that the ##ApproveRequest## and ##AutoApproveRequest## variables will resolve to an empty string (resulting in the behavior you describe), if the request has pending (unanswered) question. Can you check to see if there are any pending questions for those requests where the issue has occurred?
Oct 16, 2019 12:16 PM
I took a quick look at the code, and it appears that the ##ApproveRequest## and ##AutoApproveRequest## variables will resolve to an empty string (resulting in the behavior you describe), if the request has pending (unanswered) question. Can you check to see if there are any pending questions for those requests where the issue has occurred?
Oct 16, 2019 12:16 PM
Thanks for the quick response Charles. I do see the approver has unanswered questions on the ones not translating even though those questions are set up as not required from the approver.
I'll have to remove the variables on the items that have approver questions so they don't get confused when they receive the email.
Oct 16, 2019 12:27 PM
Teri, I think you had been working with flexible approvals at one point. Did you ever get that working? Would that address (avoid) this issue?
Oct 16, 2019 01:42 PM
I have a ticket open with support on the flexible approvals and am waiting for fixes. We use alot of approver templates and multi-level approvals, some have required questions and others do not. The flexible approval may help with the approver templates where there are no required questions:)
Oct 16, 2019 03:02 PM