Out of Office feature in ServiceNow

Tammar Haider
Tera Contributor

Hi All,

 

I need to know how to setup out of office feature in my PDI

 

Please guide me step by step

 

Thanks

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi @Tammar Haider ,

I think the following extensions have to be done:

Event Registry:

In your Inbound Email Action:

  • Check whether the Question Area record has checked "Out of office".
  • If so trigger an event with
    • Event Name = "question.autoresponder"
    • Glide Record Object = current
    • parm1 = Caller's email address
    • parm2 = <whatever you want to add>

Outbound Notification:

  • Create an Outbound Notification with
    • Send when = "Event is fired"
    • Event name = "question.autoresponder"
    • Event parm 1 contains recipient = checked
    • What it will contain = <create the email to caller>

Scheduled Script:

  • Create a new Scheduled Script
  • it should run once a day
  • it iterates all Question Area records an checks
    • whether "Start date" is reached or over and "Out of Office" is not checked 
      • if so, check "Out of Office" and update
    • whether "End date" is reached or over and "Out of Office" is checked
      • if so, uncheck "Out of Office" and update

View solution in original post

1 REPLY 1

Community Alums
Not applicable

Hi @Tammar Haider ,

I think the following extensions have to be done:

Event Registry:

In your Inbound Email Action:

  • Check whether the Question Area record has checked "Out of office".
  • If so trigger an event with
    • Event Name = "question.autoresponder"
    • Glide Record Object = current
    • parm1 = Caller's email address
    • parm2 = <whatever you want to add>

Outbound Notification:

  • Create an Outbound Notification with
    • Send when = "Event is fired"
    • Event name = "question.autoresponder"
    • Event parm 1 contains recipient = checked
    • What it will contain = <create the email to caller>

Scheduled Script:

  • Create a new Scheduled Script
  • it should run once a day
  • it iterates all Question Area records an checks
    • whether "Start date" is reached or over and "Out of Office" is not checked 
      • if so, check "Out of Office" and update
    • whether "End date" is reached or over and "Out of Office" is checked
      • if so, uncheck "Out of Office" and update