deploying CUSTOM FUNCTION PLUGIN : Error Code: APNX-1-4104-000

Hi All,

I am deploying CUSTOM FUNCTION PLUGIN in Appian server.
First time it got deployed well, next time when I added another function in same plugin jar and tried to deploy it was showing below error

Error Code: APNX-1-4104-000
Error Description: The following function(s) are already registered in the system


I incremented version number in appian-plugin.xml file and redeployed it but still error persists.
I also verified if the function is being referred by any another rule,but this is not the case.

Can anyone help to solve the issue?

Thanks!
Mayur Mondhe

  Discussion posts and replies are publicly visible

Parents
  • +1
    Certified Lead Developer

    Hi mayurm168 as per your description you can follow the below mention steps to resolve this issue:

    1. Open appian-plugin.xml file of your plugin

    2. Rename the function key. e.g:

    <function key="myKey" class="com.demo.MyClass" />

     

    Export the Jar file and deploy.

    NOTE: I assume, the exported jar file folder & their content structure is as per mentioned by Appian in their documentation.

     

    Hope this will help you!

Reply
  • +1
    Certified Lead Developer

    Hi mayurm168 as per your description you can follow the below mention steps to resolve this issue:

    1. Open appian-plugin.xml file of your plugin

    2. Rename the function key. e.g:

    <function key="myKey" class="com.demo.MyClass" />

     

    Export the Jar file and deploy.

    NOTE: I assume, the exported jar file folder & their content structure is as per mentioned by Appian in their documentation.

     

    Hope this will help you!

Children
No Data