Creation of email notification with approve & reject button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2021 12:07 AM
Hi All,
I have a requirement as below-
I have a catalog item to which a workflow is attached. On the catalog item form there is a variable(type- select box) which has options as A,B,C,D,E.
Also the workflow has configured in such a way that for eg- when we select option A, the approval should be sent to 'xyz' manager using aproval activities, option B- the approval should be sent to 'abc' group and so on. But the notification is yet to be configured.
So the requirement is I want to create email notification for all the options- A,B,C,D and E.
When we select option A, the email should be sent to 'xyz' manager with approve and reject button. If the manager clicks on approve button, the RITM should be approved and for reject button, the RITM should be rejected.
Could someone help me with the whole iimplementation to achieve above requirement.
Thanks in advance.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-26-2021 05:01 AM
Approval record in sysapproval_approver table is getting approved using OOB inbound email action but my RITM state is not updating to approved.
Is there something I am missing? I have sent you all configurations. Also please check the workflow if something needs to be added or changed.
I am trying this in personal instance. Also when i submit the request, in RITM a catalog task is created with state as requested. When i manually change the state to approved, then only notification gets triggered. I dont want that to happen. could you please check the workflow?
Now 2 issues here-
1. Only when I manually approve the catalog task, then only notification is triggered. That should not be the case. When the request is submitted, the RITM should be in pending state and notification should be triggered and email should be sent without manually approving the catalog task.
2. When manager replies back to servicenow, the RITM state is not updating to approved, although approval record in sysapproval_approver table is getting approved.
Please help where am i going wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2021 08:08 PM
RITM should get approved automatically
workflow should also proceed ahead.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2021 10:35 PM
But it is not working.