unable to send a notification to servicenow with current record details in virtual agent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2024 09:05 AM
Hi All,
I am working on the Process Approval topic in the virtual agent. I am attempting to send a notification from the virtual agent chatbot to ServiceNow after a pending approval record is either approved or rejected.
To achieve this, I created an event and a notification, and I am calling the event after the record is approve and reject buttons. Once the user approves/rejecte the record, I want to send a notification containing the current record details, including the record number (e.g., INC0011286), state (Approved/Rejected), and approver name, to ServiceNow.
Currently, the notification is being sent, but the specific details of the record as mentioned above details are not populating. Could anyone please help me out how to display the current record details in the notification?
Event script:
Notification content:
Output:
Thanks,
Pavan