not supported calendar message.ics

Henrik Jutterst
Tera Guru

Ok, so I'm trying to send out a meeting invitation from ServiceNow (currently Helsinki) and I've read the guides ( ServiceNow Calendar Invites ) and done all the parts as far as I know. When ServiceNow is sending me the calendar invitation the file name is "not supported calendar message.ics" and is only 16 byte small containing something like "Ref:MSG0194832"

I found this topic and looked through it How to configure Meeting Invitation to Outlook?   but even though I have done all things in that post I still get the same failing calendar invitation. I'm running out of ideas and was wondering if anyone here might have a clue on what the problem might be.

Some facts (with questions from other threads):

Running Outlook 2016

"In the user profile for the recipient check calendar integration. It should be Outlook."

"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."

Screenshots:

find_real_file.png
Fig. 1 - Email notification

find_real_file.png

Fig. 2 - Import Export maps

find_real_file.png
Fig.3 - Email log

find_real_file.png

Fig.4 - Notes table extended from Task

Let me know if you see anything obvious issues!

Kind Regards

17 REPLIES 17

thomas_wright1
Giga Contributor

So I wanted to post a follow up to this issue.


Here is what I've noticed.   It seem that if you set the type to calendar invite, and the content type to plan text, it creates a calendar invite but there is nothing in the body of the invite except the watermark.


If you set the type to none and the content type to calendar it seems to ignore the content type and sends the invite as a multipart email.   Which Outlook interprets as a normal email showing all the calendar "script" as plain text.   If you save the email locally and rename the extension to .ics, then Outlook will consume it as a calendar invite, but this is not feasible.  



I also found out that you cannot use the <mail script> tags any longer. What is not clear on this is that in the documentation it states that you cannot use the mail script tags in the HTML editor.   However we are using the message text field and it does not state that you cannot use them in that field (since it is not and HTML editor).   This should be clarified in the documentation.


Nitesh Asthana1
Kilo Guru

Try this,



Open your Email template in list view and change Sys Version from V1/V2 to None and retry.


find_real_file.png



Additionally, put below code in the Message field of Email Template.



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}


LOCATION:${location}


TRANSP:OPAQUE


SEQUENCE:${sys_mod_count}


UID:${number}


DTSTAMP:${dtstamp}


STATUS:CONFIRMED


CLASS:PUBLIC


END:VEVENT


END:VCALENDAR


Thank you Nitesh 🙂 it worked

Yep...this worked for me too !!

rako
Kilo Expert

Watch out for whitespaces in the Email Notification -> Message Text field. I was receiving the same error that you had, and removing whitespaces on my instance fixed it. Hope this helps.