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
3 replies
Subscribers
7 subscribers
Views
3564 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
I am using the function length() to get thenumber of elements in an array. The f
rajarshim
over 10 years ago
I am using the function length() to get thenumber of elements in an array. The function returns a value of 1 even though the process variable array is empty. Any idea what is the reason and how this can be resolved?...
OriginalPostID-110617
OriginalPostID-110617
Discussion posts and replies are publicly visible
Parents
0
hemalathat
A Score Level 1
over 10 years ago
Hi rajarshim,
The length function will return the length of an array excludes null values. This function will not consider the empty values. To resolve this, you can use trim() function to remove the empty from the array value and give it to the length function.
Example : length(trim(ri!inputArray))
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
hemalathat
A Score Level 1
over 10 years ago
Hi rajarshim,
The length function will return the length of an array excludes null values. This function will not consider the empty values. To resolve this, you can use trim() function to remove the empty from the array value and give it to the length function.
Example : length(trim(ri!inputArray))
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data