Scrooge-McDucks opened a new pull request, #11045: URL: https://github.com/apache/nifi/pull/11045
- Add SEQUENTIAL to FlowFilePolicy enum; rules are evaluated in order and each matching rule's actions are applied immediately so subsequent rules see the updated attributes rather than the original values - Implement evaluateSequential() in UpdateAttribute: applies basic dynamic properties as the baseline, then evaluates each advanced rule against the progressively updated FlowFile, emitting a single ATTRIBUTES_MODIFIED provenance event listing all matched rules in order - Write UpdateAttribute.matchedRules attribute to the FlowFile containing all matched rule names comma-separated when running in Sequential mode - Replace binary Clone/Original slide toggle in the Advanced UI with a three-way button toggle group (Clone / Original / Sequential); Sequential and Original both show the reorder-rules control - Update additionalDetails.md with Sequential mode description, basic properties interaction, matchedRules attribute, and hotel-bill worked example <!-- Licensed to the Apache Software Foundation (ASF) under one or more --> <!-- contributor license agreements. See the NOTICE file distributed with --> <!-- this work for additional information regarding copyright ownership. --> <!-- The ASF licenses this file to You under the Apache License, Version 2.0 --> <!-- (the "License"); you may not use this file except in compliance with --> <!-- the License. You may obtain a copy of the License at --> <!-- http://www.apache.org/licenses/LICENSE-2.0 --> <!-- Unless required by applicable law or agreed to in writing, software --> <!-- distributed under the License is distributed on an "AS IS" BASIS, --> <!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --> <!-- See the License for the specific language governing permissions and --> <!-- limitations under the License. --> # Summary [NIFI-15737](https://issues.apache.org/jira/browse/NIFI-15737) # Tracking Please complete the following tracking steps prior to pull request creation. ### Issue Tracking - [x] [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI) issue created ### Pull Request Tracking - [x] Pull Request title starts with Apache NiFi Jira issue number, such as `NIFI-00000` - [x] Pull Request commit message starts with Apache NiFi Jira issue number, as such `NIFI-00000` - [x] Pull request contains [commits signed](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits) with a registered key indicating `Verified` status ### Pull Request Formatting - [x] Pull Request based on current revision of the `main` branch - [x] Pull Request refers to a feature branch with one commit containing changes # Verification Please indicate the verification steps performed prior to pull request creation. ### Build - [x] Build completed using `./mvnw clean install -P contrib-check` - [x] JDK 21 - [x] JDK 25 ### Licensing - [x] New dependencies are compatible with the [Apache License 2.0](https://apache.org/licenses/LICENSE-2.0) according to the [License Policy](https://www.apache.org/legal/resolved.html) - [x] New dependencies are documented in applicable `LICENSE` and `NOTICE` files ### Documentation - [x] Documentation formatting appears as expected in rendered files ### Screenshots <img width="2258" height="1029" alt="Rules" src="https://github.com/user-attachments/assets/9fbec6d7-6811-460e-af91-ae4e85019b16" /> <img width="918" height="762" alt="basic-menu" src="https://github.com/user-attachments/assets/b599f0eb-bea6-4097-bac6-89bbbafa0e21" /> <img width="2269" height="282" alt="policy" src="https://github.com/user-attachments/assets/7fbc3e09-a53d-4f61-bec9-6ccf4f072ece" /> <img width="666" height="648" alt="result-attributes" src="https://github.com/user-attachments/assets/5a7fb8fa-218b-4e63-8a6b-75eeaf97a617" /> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
