Fix contradictory note about duplicate Stage weights#774
Open
promptless-for-oss wants to merge 2 commits into
Open
Fix contradictory note about duplicate Stage weights#774promptless-for-oss wants to merge 2 commits into
promptless-for-oss wants to merge 2 commits into
Conversation
The Moving Contacts note claimed multiple Stages could share the same weight across funnels, which contradicts the unique-weight constraint introduced in mautic/mautic#15404 and documented in the Weight field description. Correct the note to state each Stage must have a unique weight across all funnels.
| .. note:: | ||
|
|
||
| You can have multiple funnels with different Stages, and multiple Stages across those funnels with the same weight. A Contact can only ever be in one Stage at a time. It's not possible to move a Contact to a Stage which has a lesser weight than their current Stage. For example if they're currently in Stage B which has a weight of 50, you can't move them to Stage A which has a weight of 25. | ||
| You can have multiple funnels with different Stages, but each Stage must have a unique weight across all funnels. A Contact can only ever be in one Stage at a time. It's not possible to move a Contact to a Stage which has a lesser weight than their current Stage. For example if they're currently in Stage B which has a weight of 50, you can't move them to Stage A which has a weight of 25. |
Author
There was a problem hiding this comment.
mautic/mautic#15404 adds a global UniqueEntity constraint on the Stage weight field (mautic.stage.weight.unique = "Another stage with this weight already exists."), so the prior claim that "multiple Stages across those funnels with the same weight" are allowed is now false. Rewrote the note to say each Stage must have a unique weight across all funnels.
Source: mautic/mautic#15404
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Open this suggestion in Promptless to view citations and reasoning process
Corrects the "Moving Contacts between Stages" note, which incorrectly stated that multiple Stages across funnels could share the same weight. The unique-weight constraint added in mautic/mautic#15404 (and already documented in the Weight field description) makes each Stage's weight unique across all funnels. Targets the 7.2 user-docs branch.
Trigger Events
Tip: Tag @Promptless in a GitHub issue to turn it into a documentation update 🐙