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
10 replies
Subscribers
4 subscribers
Views
8853 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Trying to invoke an expression rule with input parameter from my java plugin.
girikumard
over 10 years ago
Trying to invoke an expression rule with input parameter from my java plugin.
Tried using evaluateExpression(java.lang.String expression, NamedTypedValue[] variableValues) method in ProcessDesignService Interface.But not able to construct variableValues of type NamedTypedValue[].
Do we have any sample code to pass a parameter to an expression rule from java ?
Thanks in Advance.
OriginalPostID-197077
OriginalPostID-197077
Discussion posts and replies are publicly visible
Parents
0
rachelz585
over 10 years ago
@Abhi, Hi, I am doing the same syntax as above, but I am getting this error when I try to use evaluateExpression:
17:20:02,296 INFO [stdout] (http-/0.0.0.0:8080-33) 2016-03-30 17:20:02,294 [http-/0.0.0.0:8080-33] ERROR com.appiancorp.suiteapi.common.TypedValueParameterConverter - Cannot convert TypedValue
17:20:02,323 INFO [stdout] (http-/0.0.0.0:8080-33) java.lang.IllegalArgumentException: Argument is not an array
Do you know what could be the problem?
Thanks
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
rachelz585
over 10 years ago
@Abhi, Hi, I am doing the same syntax as above, but I am getting this error when I try to use evaluateExpression:
17:20:02,296 INFO [stdout] (http-/0.0.0.0:8080-33) 2016-03-30 17:20:02,294 [http-/0.0.0.0:8080-33] ERROR com.appiancorp.suiteapi.common.TypedValueParameterConverter - Cannot convert TypedValue
17:20:02,323 INFO [stdout] (http-/0.0.0.0:8080-33) java.lang.IllegalArgumentException: Argument is not an array
Do you know what could be the problem?
Thanks
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data