Set Out of Office message on exchange when catalog item is filled

Julius28
Tera Expert

Hi guys,

 

I have idea to do some automation regarding Out of office message setting.

Currently there is catalog item (form) in portal which can be filled in by user, user can select out of office start and end date and write in message in form description. When request is submitted, it sends SCTASK to assignment group which manually puts this message on user Exchange account (Outlook).

 

This would be big help for example when user is ordering Out of office message for colleague who is away or on sick leave. 

 

The idea was to somehow automate it, there would be still this form where user picks the dates and adds message but instead of manual work (by assignment group) the message would be set automatically by some kind of script or flow. 

 

Any ideas what steps I need to take in order to set up this functionality? 

 

Thanks in advance.

 

 

2 REPLIES 2

sourav1999
Mega Guru

• To set an Out of Office message on Exchange when a catalog item is filled, you will need to create a workflow that will trigger when the catalog item is filled.

• The workflow should contain a script that will call the Exchange Web Services (EWS) API to set the Out of Office message.

• You may also need to create a custom script include to handle the EWS API call.

• You will need to ensure that the workflow has the appropriate permissions to access the Exchange server.

 

For asking ServiceNow-related questions try this :

For a good and optimistic result, please visit this website. It uses a Chat Generative Pre-Trained Transformer ( GPT ) technology for solving ServiceNow-related issues.

Link - https://nowgpt.ai/

 

For the ServiceNow Certified System Administrator exams try this :

https://www.udemy.com/course/servicenow-csa-admin-certification-exam-2023/?couponCode=NOW-DEVELOPER

Hi!

 

If I get this correct as far as I understand I should use MS Exchange online spoke right? 

https://docs.servicenow.com/bundle/utah-integrate-applications/page/administer/integrationhub-store-...