Send notification with ical for persons, who were uninvited from CAB Meetings

marioaoksan
Tera Contributor

Hello,

 

I have a requirment to send a notification with ical for persons, who were uninvited from CAB Meetings.

It should similiar as the CAB meeting invitation notifications, running on cab_attendee table.

 

Planned solution as follows:

A Business Rule "Before Delete" on the cab_attendee Table creates an Event.

Notification runs on event and send the cancellation ical as email template, type of notification is "Meeting Invitation".

 

My problem is, that at the time the notification fires, the cab_attendee record is deleted, so I can't access to variables with current.variables in my notifcation template or on notification itself.

 

I tried to collect all the needed data from the cab_meeting in the business rule in a json object and handover this as param2 to the event and extract the json object with a notification email script.

The email scripts runs, when I call it from email message itselff, but not in an email template.

When I call the mail script in an email template, nothing happens. the email body contains the string to call the email script.

 

Any idea?

 

KR Mario

 

 

 

 

0 REPLIES 0