Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
7 replies
Subscribers
5 subscribers
Views
2303 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
I am trying to develop a smart plug-in function. how to remove old version from
venkats533
over 10 years ago
I am trying to develop a smart plug-in function. how to remove old version from plug-in ? I have removed the jar file from plugins folder. But I am keep getting the same error. following function(s) are already registered in the system: printmyname (APNX-1-4104-000)...
OriginalPostID-87562
OriginalPostID-87562
Discussion posts and replies are publicly visible
0
shelzle
over 10 years ago
Did you already take a look at the documentation?
forum.appian.com/.../Custom_Smart_Service_Plug-ins
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
venkats533
over 10 years ago
Yes, my question is specific to the error I am getting and how to clean / un-register an existing function. When I delete the plug-in jar file, I do see, successful un-install message.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
shelzle
over 10 years ago
Yes I know. Once a plugin is registered with a given key you can not change the interface. It keeps registered even when uninstalled by deleting the JAR.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
venkats533
over 10 years ago
my problem is specific to function. I have changed name (key also) and redeployed. Though successful for first time, got the same error message on second attempt (no change in interface at all) ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sathya Srinivasan
Appian Employee
over 10 years ago
When you deployed it on your second attempt, did you make any further changes to the plug-in at that point? (i.e. added new input/output param?)
What you may want to try is changing the Key one more time to something unique and deploying the plug-in again. See if that works.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Jason Ruvinsky
Certified Senior Developer
over 10 years ago
Also, be sure to update the <version> tag in <plugin-info> in the appian-plugin.xml for your plugin, so that Appian knows which version is newer.
For plugin functions, you can change the parameters without issues, but be aware this will break any existing calls to the function. Smart Services won't allow you to change parameters without also changing the key.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
venkats533
over 10 years ago
I found the root cause. I had some old process instances still referring to old version. Once I removed all test processes that I don't need anymore, I have no issues now.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel