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
8 replies
Subscribers
5 subscribers
Views
2869 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
I am new to plug-in development , I have developed expression function which h
syedi
over 8 years ago
I am new to plug-in development , I have developed expression function which has one required and three optional parameter. When i re-order or remove any of the optional parameter in between, it still passes the value in default order and it assumes wrong value. So do i need to map anything specific for the name in java function
OriginalPostID-224442
OriginalPostID-224442
Discussion posts and replies are publicly visible
Parents
0
syedi
over 8 years ago
nope, I am just using @Parameter(required=false) . no other annotation for that variable. my code sample looks like:
@Function
public TypedValue xyz(ServiceContext sc, @Parameter(required=true) Long a,@Parameter(required=false) String b,@Parameter(required=false) Long c,@Parameter(required=false) TypedValue[] d) {
...
...
}
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
syedi
over 8 years ago
nope, I am just using @Parameter(required=false) . no other annotation for that variable. my code sample looks like:
@Function
public TypedValue xyz(ServiceContext sc, @Parameter(required=true) Long a,@Parameter(required=false) String b,@Parameter(required=false) Long c,@Parameter(required=false) TypedValue[] d) {
...
...
}
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data