Appian Plugin Deploys Successfully but No Modules Appear in Admin Console (Expression Function)

Certified Associate Developer

Title:
Appian Plugin Deploys Successfully but No Modules Appear in Admin Console (Expression Function)

Question:

Hello everyone,

I am developing a simple Appian expression function plugin using Java and Maven in Spring Tool Suite (STS) for Appian 24.1 On-Prem.

The plugin deploys successfully in Admin Console, but the Modules column is empty, so the function does not appear in the Expression Editor and cannot be used in an Expression Rule.

What I have done so far:

  1. Created a simple Java class:

package com.example;

import com.appiancorp.suiteapi.expression.annotations.Function;
import com.appiancorp.suiteapi.expression.annotations.Parameter;

public class HelloPlugin {

    @Function
    public static String hello(@Parameter String name) {
        return "Hello " + name + " from plugin";
    }

}
  1. Created appian-plugin.xml:

<appian-plugin key="hello-plugin"
               name="Hello Plugin"
               description="Simple expression function plugin"
               version="1.0.0"
               vendor="Example">

    <functions>
        <function>com.example.HelloPlugin</function>
    </functions>

</appian-plugin>
  1. Project structure:

src/main/java/com/example/HelloPlugin.java
src/main/resources/META-INF/appian-plugin.xml
  1. Built the plugin using:

mvn clean package
  1. Uploaded the generated JAR in Admin Console → Plug-ins.

The plugin installs successfully, but the Modules column remains empty, and the function hello() does not appear in the expression editor.

Questions:

  • What could cause a plugin to deploy successfully but not register any modules?

  • Is there any additional configuration required for expression function plugins in Appian 24.1?

  • Could this be related to the plugin packaging or manifest configuration?

Any guidance would be appreciated.

Thanks!

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Manideep Kodela

    Looks like plugin-info tag also missing. Not sure where you picked up this appian-plugin.xml from. You can download any function plugin from app market and unzip it to check the appian-plugin.xml and use it as reference.

    Also, I dont see you mention resource bundles in your post. Thats the next error you will hit if its missing. (Hope you are checking the tomcat log for plugin deployment errors) Based on your locale setting you need to supply the resource bundle with the funtions name in your project.

Children
No Data