How to configure Meeting Invitation to Outlook?

jenny32
Tera Guru

Hi All,

I have been trying to send Meeting Invitation to Outlook. I have created Email Template and import export map ( from Email Templates - ServiceNow Wiki ).I have been able to send an email with "not supported calendar message.ics" file attachment.   When i open that attachment in notepad, the content is same as the template message.

I have used this code in Email Template.

Message Text:

BEGIN:VCALENDAR

PRODID:-//Service-now.com//Outlook 11.0 MIMEDIR//EN

VERSION:2.0  

METHOD:REQUEST

BEGIN:VEVENT

ATTENDEE;ROLE=REQ-PARTICIPANT;RSVP=TRUE:MAILTO:${to}

ORGANIZER:MAILTO:${from}

DTSTART:${dtstart}  

DTEND:${dtend}  

UID:${sys_id}  

DTSTAMP:${dtstamp}  

DESCRIPTION:${u_description}

X-MICROSOFT-CDO-BUSYSTATUS:BUSY  

X-MICROSOFT-DISALLOW-COUNTER:TRUE  

X-SNSYSID:{$sys_id}  

BEGIN:VALARM  

TRIGGER:-PT15M  

ACTION:DISPLAY  

DESCRIPTION:Reminder  

END:VALARM  

END:VEVENT

END:VCALENDAR

In my Email Notification,type is Meeting Invitation.

When i check in Email log(outgoing mail), the body field is empty.

Can anyone tell where i am going wrong?

Thanks,

Jennifer

1 ACCEPTED SOLUTION

I'd recommend heading back to the sys_impex_map table and looking there. The new record you added into this table needs to be name icalendar.your_table_name . Also ensure that the fields you are referencing for dtstart and dtend are date/time fields. Not just date fields.



Going to shamelessly self plug an article I whipped together as well: ServiceNow Calendar Invites - Bradford Shelley



I apologize for the poor formatting. Hopefully the gibberish I've typed in there can help out as well.


View solution in original post

30 REPLIES 30

And I would add to that - make sure you have the code in the 'Message' part of the template, not in the HTML area, as it would not work otherwise. Good luck!