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
7 replies
Subscribers
7 subscribers
Views
2856 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
In DoForEach Smart Service Expression Component filterNulls does not
aneeshv
over 12 years ago
In DoForEach Smart Service Expression Component
filterNulls does not work for me with TEXT ARRAYs?
rule!filterNulls({"test1","test2",null,"test5",null})
gives me
test1; test2; ; test5;
Why is that?
...
OriginalPostID-60934
OriginalPostID-60934
Discussion posts and replies are publicly visible
Parents
0
Abhishek Shadangi
Appian Employee
over 12 years ago
Then you can do =fn!remove(pv!array,fn!where(doforeach("isnull",pv!array)))
#knowledgeshare Note: Expression rules, when used in the doforeach, are *not* resolved by the Application Builder's dependency checker, and hence you need to manually keep track of the expression rules used inside doforeach. In the expression I mentioned above, you will be using isnull, so not a problem here, but something to keep in mind in-case you plan on using expression rules inside the doforeach. Hope this helps!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Abhishek Shadangi
Appian Employee
over 12 years ago
Then you can do =fn!remove(pv!array,fn!where(doforeach("isnull",pv!array)))
#knowledgeshare Note: Expression rules, when used in the doforeach, are *not* resolved by the Application Builder's dependency checker, and hence you need to manually keep track of the expression rules used inside doforeach. In the expression I mentioned above, you will be using isnull, so not a problem here, but something to keep in mind in-case you plan on using expression rules inside the doforeach. Hope this helps!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data