Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
We'd like to be able to feed a list of values to DistributeLoad and use EL to establish the "Number of Relationships" value from the count of those list values. That would allow us to define a list of URL, hostnames, etc. in a preceding attribute, which DistributeLoad could then enumerate on its own, to dynamically establish the number of relationships.
For instance, when provided a list of URLs in an attribute named urlList, DistributeLoad could then determine the relationship count with ${allDelineatedValues(${urlList}, ","):count()}. A subsequent UpdateAttribute processor could then extract the appropriate URL from ${urlList} with getDelimitedField, based on the relationship number provided by DistributeLoad.