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

Bradford, would you happen to know how to name the file when it's being sent to Outlook? The filename is still called "not supported calendar message.ics". Not a bit thing really but looks a bit messy.



Here's what i have in my template:




BEGIN:VCALENDAR


VERSION:2.0


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


BEGIN:VEVENT


DTSTAMP:${dtstart}


DTSTART:${dtstart}


DTEND:${dtend}


DESCRIPTION:${description}


STATUS:CONFIRMED


SUMMARY:${short_description}


END:VEVENT


END:VCALENDAR


Hey Henrik,



Hrm, "not supported calendar message.ics" usually indicates that something isn't working quite right.


I'd take a quick look over at the article I wrote up and linked earlier again just to double check everything. If that all looks good, then you might need a couple more properties in your iCalendar code (iCalendar properties, not ServiceNow properties). You might need to add a METHOD and then an ORGANIZER and/or some ATTENDEE people as well depending on the METHOD chosen. The article I wrote has some links that talk though the finer points of each different property available in the iCalendar format.


Hi Bradford and thanks for your post on my question.


You actually helped me in another thread with the same question. I think my issue was that I was not using an email template in combination with that I was missing some vcalendar properties (mainly the "ORGANIZER" property). But thanks for the post and help you gave!


aakanksha
Kilo Explorer

I am also facing the same issue while trying to send invites on incident table, any leads on this ?


Hi Aakanksha,



These are the steps I followed:


1) Type sys_impex_map.list in navigation filter and map required fields.


2) Created email template by referring (Email Templates - ServiceNow Wiki).


3) Created email notification.


Make sure the type is "Meeting Invitation" and the option is "Plain Text Only" (the section where it says 'What it will contain').



When I faced the issue "not supported file attachment.ics", I deleted and re-created from the scratch for sending Invitation and it worked. Make sure to give different name from previous one.



Thanks,


Jenny