[ https://issues.apache.org/jira/browse/NIFI-8514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Wise updated NIFI-8514: ---------------------------- 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. was: 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 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 the ${urlList} with getDelimitedField, based on the number provided by DistributeLoad. > Add EL support to DistributeLoad > -------------------------------- > > Key: NIFI-8514 > URL: https://issues.apache.org/jira/browse/NIFI-8514 > Project: Apache NiFi > Issue Type: Improvement > Components: Core UI > Reporter: John Wise > Priority: Minor > > 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. -- This message was sent by Atlassian Jira (v8.3.4#803005)