[
https://issues.apache.org/jira/browse/NIFI-6619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16928871#comment-16928871
]
Joseph Witt commented on NIFI-6619:
-----------------------------------
a possible work around to consider
I believe UpdateAttribute's advanced UI lets you set rules with specific order.
That could set the relationship name you want for instance as a flowfile
attribute. Then you could follow it with RouteOnAttribute using
attribute/relationship name. Not saying the idea for RouteOnAttribute isn't
good to do just saying this might get you going.
THanks
> 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)