customize my approval widget in service portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2020 01:04 PM
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
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2020 11:41 PM
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>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2020 06:48 AM
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!!!