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
4 replies
Subscribers
8 subscribers
Views
1440 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
I have a local!data merged from 7 arrays, the local!data output is like
shaoyongw
over 9 years ago
I have a local!data merged from 7 arrays, the local!data output is like
CAtest: Main Contract Review, [Group:2397], 5/25/2015 4:40 AM EDT, , , 0, , CAtest: Main Contract Review, [Group:2390], 5/25/2015 4:40 AM EDT, , , 0, , CAtest: Main Contract Review, [Group:2399], 5/25/2015 4:40 AM EDT, , , 0, , CAtest: Main Contract Review, [Group:2398], 5/25/2015 4:40 AM EDT, , , 0,
apply(fn!count, local!data) returns : 7, 7, 7, 7
apply(fn!length, local!data) returns : A null parameter has been passed.
apply(rule!otherRule, local!data) returns : Rule 'otherRule' has 1 parameters, but instead passed 7 parameters.
OriginalPostID-150739
OriginalPostID-150739
Discussion posts and replies are publicly visible
Parents
0
shaoyongw
over 9 years ago
The local!data was expected to be an array of arrays. It is working in fn!count but not working in fn!length.It seems weird because none of the arrays in local!data contains all nulls.
And when I using otherRule the array in local!data is recognized as 7 parameters but not as one array. This is why I post this question.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
shaoyongw
over 9 years ago
The local!data was expected to be an array of arrays. It is working in fn!count but not working in fn!length.It seems weird because none of the arrays in local!data contains all nulls.
And when I using otherRule the array in local!data is recognized as 7 parameters but not as one array. This is why I post this question.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data