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

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

Children
No Data