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

ashikabu
Kilo Contributor

Hi Jennifer,


Please refer to the below links for more information:


Email Templates - ServiceNow Wiki


Sending iCalendar Invites from any Task table - ServiceNow Guru



Thanks,


Ashika


Hi Ashika,



I tried to configured Meeting Invite to outlook by referring these links, but still its not working for me.


Is there any other way to do this?



Thanks,


Jennifer


Jennifer Larry - make sure you have the code in the MESSAGE TEXT, not in the HTML portion of the template. Also, make sure the option in the Email Notification is 'Plain Text Only' (the section where it says 'What it will contain'). I had the same issue and this was my resolution.


Dimitar Dimitrov, I tried the same way as you suggested but still am getting "not supported file attachment.ics".


Can you please share the steps that you followed to send meeting Invite?



Thanks,


Jenny


Hi Dimitrov,



Now I'm able to send the meeting Invite .   But the issue I'm facing is, it is taking the current system date and time in my meeting invite not the one which I entered in my record.



Below image shows the issue I'm facing.



MeetingInvite.png


In "when" portion of my invite, instead of current system date and time, I need to set it to custom date and time which I have in my record.



Any idea on how to resolve this issue??



Any help will be really appreciated.



Thanks,


Jenny