-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
new ruleA new suggestion for a best practice to be included in the scannerA new suggestion for a best practice to be included in the scanner
Description
I would like to suggest a new rule to suggest using Transform instead of Loop > Assignment where possible
Current Behaviour:
The scanner does not currently identify the specific pattern where a Loop element immediately leads to an Assignment element that could be replaced by Transform
Proposed Enhancement:
I propose adding a new rule named TransformInsteadOfLoop
- Description: Detects the specific sequence where a Loop element's path connects directly to an Assignment element.
-Expected Behaviour: The scanner flags this pattern with anote
severity. - Justification: While the Loop -> Assignment pattern is valid, it can often be replaced by the Transform element which is on average 10x more performant according to docs
- Implementation Notes: Rule needs to analyse element connectors to identify the Loop -> Assignment sequence specifically on the iterative path (e.g., checking the nextValueConnector or similar property).
Purpose:
This rule encourages better Flow Performance by highlighting areas where the Transform element might be a more suitable choice than a simple Loop/Assignment combination
Docs:
Metadata
Metadata
Assignees
Labels
new ruleA new suggestion for a best practice to be included in the scannerA new suggestion for a best practice to be included in the scanner