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
13 replies
Subscribers
6 subscribers
Views
4455 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
I am trying to create a plug-in for converting a file that is stored in a consta
amitas
over 8 years ago
I am trying to create a plug-in for converting a file that is stored in a constant of type document to hashcode using eclipse. But whenever I am calling the custom function in expression rule by passing the same constant as parameter I am getting an error: "Expression evaluation error at function 'hashcode': Error evaluating function 'hashcode' : (Result too large)". When do we get such an error?
OriginalPostID-223509
OriginalPostID-223509
Discussion posts and replies are publicly visible
Top Replies
Vinod Bongoni
over 8 years ago
+1
Certified Lead Developer
If we choose function output type is an integer and multiple then the Long[] type will be the return object from the java method. Please find the attached code, which is updated and it is working fine…
Parents
0
amitas
over 8 years ago
Actually the problem is I have declared one parameter of type document in expression function for creating an Appian plug-in but whenever I am calling the same function in expression rule and passing any file as a parameter its giving error: "Expression evaluation error at function 'hashcode': Error evaluating function 'hashcode' : (Result too large)". I am attaching the code snippet. Could you please go through the code and also I would like to know from where would I will be able to find the log file you need?
code.txt
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
amitas
over 8 years ago
Actually the problem is I have declared one parameter of type document in expression function for creating an Appian plug-in but whenever I am calling the same function in expression rule and passing any file as a parameter its giving error: "Expression evaluation error at function 'hashcode': Error evaluating function 'hashcode' : (Result too large)". I am attaching the code snippet. Could you please go through the code and also I would like to know from where would I will be able to find the log file you need?
code.txt
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data