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
2 replies
Subscribers
7 subscribers
Views
1256 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Hello, I have a multiple value PV called dupecount (type = integer),
dylanf
over 12 years ago
Hello,
I have a multiple value PV called dupecount (type = integer), and I'm trying to assess the values within the PV as the basis of an XOR gateway. What I'm trying to do in the XOR gateway is to send to a particular node if the value of the pv is greater than 0, but given that there are multiple values in the PV and if the first value won't always be greater than zero, I can't figure out how I can iterate across the array in an expression to say if any of the values of the PV are greater than zero, trigger the condition in the XOR gateway.
Thanks,
Dylan
OriginalPostID-23661
OriginalPostID-23661
Discussion posts and replies are publicly visible
Top Replies
elizabeth.epstein
over 12 years ago
+1
In general, you can use the doforeach() plugin to evaluate an expression across multiple elements in the array. However, in this case, if you just want to know if ANY value is greater than zero, you can…
Parents
0
elizabeth.epstein
over 12 years ago
In general, you can use the doforeach() plugin to evaluate an expression across multiple elements in the array. However, in this case, if you just want to know if ANY value is greater than zero, you can do =max(pv!dupecount) > 0.
Cancel
Vote Up
+1
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
elizabeth.epstein
over 12 years ago
In general, you can use the doforeach() plugin to evaluate an expression across multiple elements in the array. However, in this case, if you just want to know if ANY value is greater than zero, you can do =max(pv!dupecount) > 0.
Cancel
Vote Up
+1
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data