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
3607 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
We have created plug-in to write custom function in appian called as fn!mydataap
sridharj
over 9 years ago
We have created plug-in to write custom function in appian called as fn!mydataappend and it accepts input param as Emplyee (CDT). After we deployed into appin we are able to see the custom function but when we call the function in appian we are getting below error. Could you please suggest what is the reason for that and solution.
Caused by: com.appiancorp.suiteapi.common.exceptions.AppianException: Unable to find a required instance of Employee. (APNX-1-4158-006)
at com.appiancorp.process.expression.CustomFunction.evaluate(CustomFunction.java:597)
at com.appiancorp.process.expression.CustomFunction.evalDynamic(CustomFunction.java:197)
at com.appiancorp.process.expression.CustomFunction.eval0(CustomFunction.java:188)
at com.appiancorp.core.expr.Evaluable.eval(Evaluable.java:213)
at com.appiancorp.process.expression.ExpressionEvaluator.evaluate(ExpressionEvaluator.java:295)
at com.appiancorp.core.expr.AppianScriptContextTop.evalExternalFunction(Appi...
OriginalPostID-186615
OriginalPostID-186615
Discussion posts and replies are publicly visible
Parents
0
rawich
over 9 years ago
Hi Sridhar, you might want to share your SAIL code invoking this function. It looks like the error happened just right before your code get executed. The issue is probably with how you pass the Employee CDT to the function.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
rawich
over 9 years ago
Hi Sridhar, you might want to share your SAIL code invoking this function. It looks like the error happened just right before your code get executed. The issue is probably with how you pass the Employee CDT to the function.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data