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 22.3 and above. Cloud customers on a lower version of Appian that want to install this plugin should open a support case. Self-managed customers can find the latest jar for Appian 22.2 and lower version in the appmarket download file.

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
  • Hello all,

    I'm trying to use the plugin but it's not sending the email. The process runs correctly, but no email arrives in the mailbox. I tried to look at the logs, as some mentioned above, but no error log came up. I searched if there was an error in the tomcat-stdOut.log directory but I couldn't find it. I'm using version 24.2

  • It was working in the 23.1 version

    After upgrading 23.2 version

    The ical plugin not working

    The node executed without any error but 

    and we are getting the above exception in the systems logs

  • Hello all

    I am using the "Send meeting request" Smart service in the process model.

    The smart service was properly executed without any error but I am not getting any meeting email or Invite.

     

    In the System logs, I am getting the below exception.

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

  • Hi, iCal string and meeting uuid has been generated. But how can we integrate that event with outlook . Can anyone elaborate the use case of this plugin ?

  • Hi everyone, 

    I am facing an issue with this smart service. It doesn't work. In the process model monitoring, the node is completed, but it doesn't send any meeting. 

    Can anyone help me?
    Thanks

  • Hi,

    I am facing an issue with "Send Meeting Request" smart service in our UAT environment. It is working fine with same configurations in lower environments. The error in system log is as below - 

    2022-11-01 05:11:39,743 [ThreadPoolTaskExecutor-253084] ERROR com.appiancorp.process.workpoller.WorkItemListener - The following exception occurred while attempting to complete work item [[WorkId: 845, EngineId: execution00, Request: UnattendedJavaActivityRequest:49251 as 43161959 by 43161959, ProcessId: 806362, ProcessModelId: 18226, Response: null]] - Exception: 
    javax.resource.spi.work.WorkCompletedException: java.lang.NoClassDefFoundError: jakarta/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: jakarta/mail/internet/InternetAddress
    	at com.appiancorp.ical.SendMeetingRequestActivity_v4.run(SendMeetingRequestActivity_v4.java:81)
    	at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.lambda$call$0(DefaultActivityExecutor.java:136)
    	at com.appiancorp.plugins.PluginUsageLogger.runWithPluginInformation(PluginUsageLogger.java:52)
    	at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:136)
    	at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:130)
    	at com.appiancorp.common.ContextClassLoaderSwitcher.runInContext(ContextClassLoaderSwitcher.java:27)
    	at com.appiancorp.process.runtime.framework.DefaultActivityExecutor.execute(DefaultActivityExecutor.java:130)
    	at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute(UnattendedJavaActivityRequest.java:88)
    	at com.appiancorp.process.engine.UnattendedJavaActivityRequestResponseCreator.getJavaActivityResultResponse(UnattendedJavaActivityRequestResponseCreator.java:21)
    	at com.appiancorp.process.engine.UnattendedJavaActivityRequest.getJavaActivityResultResponse(UnattendedJavaActivityRequest.java:67)
    	at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute0(UnattendedJavaActivityRequest.java:55)
    	at com.appiancorp.common.persistence.data.AppianDataUserContextProvider.executeWithConsistentDataReads(AppianDataUserContextProvider.java:143)
    	at com.appiancorp.process.engine.ProcessContinuationRequest.executeOuter(ProcessContinuationRequest.java:68)
    	at com.appiancorp.process.engine.ContinuationRequest.execute(ContinuationRequest.java:129)
    	at com.appiancorp.process.workpoller.UnattendedRequestHandlerBean.onMessage(UnattendedRequestHandlerBean.java:36)
    	at com.appiancorp.process.workpoller.WorkItem.run(WorkItem.java:110)
    	at org.springframework.jca.work.SimpleTaskWorkManager$DelegatingWorkAdapter.run(SimpleTaskWorkManager.java:239)
    	... 3 more
    Exception in thread "ThreadPoolTaskExecutor-253084" java.lang.NoClassDefFoundError: jakarta/mail/internet/InternetAddress
    	at com.appiancorp.ical.SendMeetingRequestActivity_v4.run(SendMeetingRequestActivity_v4.java:81)
    	at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.lambda$call$0(DefaultActivityExecutor.java:136)
    	at com.appiancorp.plugins.PluginUsageLogger.runWithPluginInformation(PluginUsageLogger.java:52)
    	at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:136)
    	at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:130)
    	at com.appiancorp.common.ContextClassLoaderSwitcher.runInContext(ContextClassLoaderSwitcher.java:27)
    	at com.appiancorp.process.runtime.framework.DefaultActivityExecutor.execute(DefaultActivityExecutor.java:130)
    	at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute(UnattendedJavaActivityRequest.java:88)
    	at com.appiancorp.process.engine.UnattendedJavaActivityRequestResponseCreator.getJavaActivityResultResponse(UnattendedJavaActivityRequestResponseCreator.java:21)
    	at com.appiancorp.process.engine.UnattendedJavaActivityRequest.getJavaActivityResultResponse(UnattendedJavaActivityRequest.java:67)
    	at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute0(UnattendedJavaActivityRequest.java:55)
    	at com.appiancorp.common.persistence.data.AppianDataUserContextProvider.executeWithConsistentDataReads(AppianDataUserContextProvider.java:143)
    	at com.appiancorp.process.engine.ProcessContinuationRequest.executeOuter(ProcessContinuationRequest.java:68)
    	at com.appiancorp.process.engine.ContinuationRequest.execute(ContinuationRequest.java:129)
    	at com.appiancorp.process.workpoller.UnattendedRequestHandlerBean.onMessage(UnattendedRequestHandlerBean.java:36)
    	at com.appiancorp.process.workpoller.WorkItem.run(WorkItem.java:110)
    	at org.springframework.jca.work.SimpleTaskWorkManager$DelegatingWorkAdapter.run(SimpleTaskWorkManager.java:239)
    	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)
    2022-11-01 05:11:40,244 [Appian Work Item - 498598 - WorkID 846 - execution00 : SendNotificationRequest] WARN  com.appiancorp.ap2.service.PortalNotificationServiceJavaImpl - A notification broadcast has been prevented because the number of recipients [165] would exceed the configured limit of [100]. Adjust conf.notifications.MAX_RECIPIENTS to a value greater than [100] as necessary for future notifications.

    Any solution available ?

  • 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?