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:
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"; } }
Created appian-plugin.xml:
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>
Project structure:
src/main/java/com/example/HelloPlugin.java src/main/resources/META-INF/appian-plugin.xml
Built the plugin using:
mvn clean package
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.
hello()
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
You could try this,Replace <functions> with <expression-function key="hello" name="hello" class="com.example.HelloPlugin"/> in your XML.Remove static from your Java method.Run mvn clean package, re-upload JAR -> Modules will populate.
Thank you for the response Shubhamand Yeah I did the Modifications you told,but still modeules weren't available Do we need to restart the server after deploying to get the modules available?
No restart needed!Without logs/pom.xml, exact cause can't be confirmed. Can you share either?
Anyone know?