customize my approval widget in service portal

akhila13
Tera Expert

I want to customize my approval widget in such a way that when we click on approve button it should redirect to email approval  instead of approving directly in the system. It will helpful for users with out  approver_users  role also

2 REPLIES 2

Erik Stolberg
Tera Guru

I don't fully understand your use case, but here are some thoughts on this.

a) part of the reason for using email approvals is to make it easy for someone to approve without having to log into ServiceNow. If the user is already on a Service Portal page, they are logged in... why send them to another process?

b) the mailto.rejection and mailto.approval email templates basically have 1 main goal-- to set the subject on the response email to "Re:${sysapproval} - reject" or "- approve" so the inbound email action will correctly trigger and process the action. However, the baseline "Update Approval Request" will only process for reply emails, so you would need duplicate and modify so it would process for 'new' emails.

c) you would need to build a link that uses mailto, and adds a subject:
<a ng-href="mailto:webmaster@example.com?subject=Re:CHG01234 - approve">Approve</a>

Tejaswini9
Tera Expert

Hello,

Do you have any workaround for this, We have more than 450 users who are approvers and our client is asking is it possible to approve without the "apprver_user" role in service portal.

Please suggest so that others with the same issue can be benifited. 

 

Thank you!!!