forcedotcom / devops-center-feedback

61 stars 2 forks source link

[Flow feature request] Auto-layout flows, when updated, generate a large number of un-necessary changes and merge conflicts #201

Open RupertBarrow opened 2 years ago

RupertBarrow commented 2 years ago

Describe the bug When modifying an auto-layout Flow, DevOps Center and GitHub detect changes in a large number of horizontally-laid out components, even if the flow is marked for "auto-layout" . This is not a DevOps Center issue, but revealed by DevOps Center

To Reproduce Steps to reproduce the behavior:

  1. Create a flow, preferably with a multiple number of items in a decision step. Mark it auto-layout.
  2. Commit and promote
  3. Update the flow by adding a decision step : auto layout moves all the items and realigns them horizontally, updating their X position in the matadata XML
  4. Commit and promote : conflicts are reported in the change/pull request for each decision item which has been realigned

Expected behavior I would expect an auto-aligned Flow NOT to save the X and Y positions for its components, and that they be recalculated at display time. This would remove all unnecessary conflicts and merges.

Screenshots

Additional context

GilsonCanario commented 2 years ago

Hi @RupertBarrow DevOps Center leverages the Metadata API to detect changes made in a given org. This seems to be an issue with the Flows team and I would suggest to open a ticket here.