[
https://issues.apache.org/jira/browse/NIFI-6619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16928587#comment-16928587
]
HondaWei commented on NIFI-6619:
--------------------------------
It's interesting. I would like to add a strategy which name is RouteByOrder.
It will evaluate the following properties and route the message to the first
match. If you have any suggestion, please let me know.
. !image-2019-09-12-22-15-51-027.png!
> RouteOnAttribute: Create new Routing Strategy to route only first rule that
> is true
> -----------------------------------------------------------------------------------
>
> Key: NIFI-6619
> URL: https://issues.apache.org/jira/browse/NIFI-6619
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Configuration
> Affects Versions: 1.9.2
> Reporter: Raymond
> Priority: Major
> Attachments: image-2019-09-12-22-15-51-027.png
>
>
> Currently the RouteOnAttribute has the strategy "Route to Property name".
> The behavior is that for each rule that is true a message (clone of flowfile)
> will be sent to the next step.
> I would like to have another strategy:
> "Route to first matched Property name" or "Route to Property name by first
> match" or Route to first Property name which evaluates true".
> This will ensure that next step gets exactly one message.
>
>
--
This message was sent by Atlassian Jira
(v8.3.2#803003)