We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Now Assist/Virtual Agent Microsoft Teams Approval

ChittiS
Tera Guru

Hello Teasm

  • We have already integrated Microsoft Teams with Virtual Agent, NOW Assist, and MAO.
  • We have a requirement to send an actionable notification card in Microsoft Teams whenever a new approval request is assigned to an approver.
  • The Teams notification card should display:
    • Ticket Number
    • Short Description
    • Requested For (Requester Name)
    • Approve button
    • Reject button

And also, 

  • When an approver receives a new approval request, an actionable Teams card should be triggered automatically.
  • Approval or rejection actions performed from Microsoft Teams must be reflected in ServiceNow immediately/instantly.
  • When the approver clicks Reject:
    • A prompt should appear with the message:

      "Please provide a reason for rejecting the request."

    • Providing comments should be mandatory.
    • The entered comments must be saved to the corresponding approval record in ServiceNow.
  • When the approver clicks Approve:
    • An optional text field should be presented for comments.
    • If comments are entered, they must be saved to the approval record in ServiceNow.
  • After a successful approval or rejection action, Microsoft Teams should display a success confirmation message.
  • The system must prevent users from approving or rejecting requests that are not assigned to them.
  • If the approval/rejection action fails for any reason, Microsoft Teams should display a clear and meaningful error message.

    Can anyone please provide how I can complete this requirement.

    Thanks
2 REPLIES 2

ChittiS
Tera Guru

Hi @Vikram Reddy , Could you please provide your expertise here.
Thanks

Tanushree Maiti
Tera Patron

Hi @ChittiS 

 

Refer: ServiceNow Solution Overview – How to update teams notification card for approvals

https://www.servicenow.com/community/virtual-agent-forum/servicenow-provider-notifications-configuri...

https://www.servicenow.com/community/ms-teams-forum/notification-provider-not-working-when-linking-a...

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti