Send iCal invitations in scripts
To send invitations using the iCal format use th following code fragments in your scripts.
These lines sends an invitation to tom.test@customer.com with two participants (Mary Miller and Tom Test).
Date of the meeting is 2025-3-10 at 2 p.m:
2
3
4
5
6
7
8
9
10
11
12
13
var particitants = helper.getInstanceForClass("java.util.HashMap");
particitants.put("Mary Miller", "mary.miller@support.com");
particitants.put("Tom Test", "tom.test@customer.com");
var event = helper.generateEvent(2025,3,10,14,00,60,"Online Meeting","Your support request.", "tom.test@customer.com","Support","Online",particitants,"6546464@todo4teams.de");
helper.sendInvitation(event,
"New Appointment: Online Meeting" ,
"You received a meeting invitation.",
"tom.test@customer.com",2);
...