Send/Cancel Meeting Request and Generate iCalendar

Overview

Send and cancel a meeting request (iCal/vCal event) and generate the iCal String so that it can be written to a file.

This version is for Appian 25.2 and above. Cloud customers on a lower version of Appian that want to install this plugin should open a support case.

Key Features & Functionality

Contains three Smart Services that can

  • Generate an iCalendar String so that it can be written to a file
  • Send a Meeting Request (iCal/vCal event)
    • Returns the meeting unique identifier (uid) so that it can be used later to cancel the meeting request if needed
  • Cancel a Meeting Request (iCal/vCal event)
    • Given a uid returned by a previous execution of "Send Meeting Request", it allows you to cancel the meeting request and have it removed from the guests' calendar

A sample Appian application is included with the download of this Plug-in.  Release notes are also provided as part of the download package.

Anonymous
  • Hi,

    we are testing the plugin on Appian Community Edition 22.3 and we are facing a similar issue as Simone, the log reports:

    ERROR com.appiancorp.ical.Mail - Could not send mail via eu-central-1.smtp-gateway.appian-customer.com:587 to 
    com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first

    Is there a solution?
  • While executing the plugin in Appian, the Process instance was completed but the plugin is not getting initiated . I think a java library is missing and waiting for you to update. Kindly accept my request and look for the update

  • Release Notes - v5.0.0
    • Updated to support the jakarta mail library introduced in Appian 22.3
  • Will this plug-in be affected by Appian's transition to Jakarta Mail from Java Mail?

  • Hello,

    I am trying to attach a PDF document using  Send Meeting Request Smart service  
    the meeting request is sent but without the pdf document !! 

    can any one help me ?

    the pdf document is exist in my application.

  • Hello there,

    We are currently facing an issue with the Generate iCalendar Smart Service. When it is executed, we get an error saying "An error occurred in executing an Activity Class." We are running Appian on Cloud and use version 22.3

    Our Tomcat Log says the following:

    2022-09-02 12:51:37,729 [ThreadPoolTaskExecutor-9438] ERROR com.appiancorp.process.workpoller.WorkItemListener - The following exception occurred while attempting to complete work item [[WorkId: 11, EngineId: execution01, Request: UnattendedJavaActivityRequest:268436103 as christian.michael.ritter@pwc.com by christian.michael.ritter@pwc.com, ProcessId: 268440647, ProcessModelId: 2990, Response: null]] - Exception: 
    javax.resource.spi.work.WorkCompletedException: java.lang.NoClassDefFoundError: javax/mail/internet/InternetAddress
    	at org.springframework.jca.work.SimpleTaskWorkManager$DelegatingWorkAdapter.run(SimpleTaskWorkManager.java:247)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    	at java.lang.Thread.run(Thread.java:750)
    Caused by: java.lang.NoClassDefFoundError: javax/mail/internet/InternetAddress
    	at com.appiancorp.cs.ical.SendMeetingRequestActivity_v4.run(SendMeetingRequestActivity_v4.java:81)
    	at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.lambda$call$0(DefaultActivityExecutor.java:136)

    We also examined the following code snippet:

    public void run() throws SmartServiceException {
        // Create an InternetAddress bean for the FROM of the meeting request.
        InternetAddress from;
        try {
          from = new InternetAddress(fromEmailAddress, fromDisplayName);
        } catch (Exception e) {
          String message = fromEmailAddress + " doesn't have a valid email address: " +
            fromEmailAddress;
          throw new SmartServiceException(ErrorCode.GENERIC_RUNTIME_ERROR, message);
        }

    Is it possible that Appian didn't include one or more Java libraries for the new releases?

  • how can attach document when send request? 

  • it may occur because you are using sender or recipient email address is in text type and email address should be in email type.

    so you can wrap the email in the email wrap function.
    eg =toemailaddress("email-address")
  • Does it work with all versions of office / outlook?

  • v4.3.7 Release Notes
    • Fixed backwards compatibility