Skip to content

Document unique stage weight requirement and validation#758

Open
promptless-for-oss wants to merge 1 commit into
mautic:7.2from
Promptless:promptless/stage-weight-unique-validation
Open

Document unique stage weight requirement and validation#758
promptless-for-oss wants to merge 1 commit into
mautic:7.2from
Promptless:promptless/stage-weight-unique-validation

Conversation

@promptless-for-oss

Copy link
Copy Markdown

Open this suggestion in Promptless to view citations and reasoning process

Updates the Weight field documentation to explain that each stage must have a unique weight, and describes the new validation behavior including the reference table and error message.

Trigger Events


Tip: Send Promptless a meeting transcript in Slack to generate doc updates 📝

Adds documentation for the new stage weight conflict checking feature
introduced in mautic/mautic#15404:
- Each stage must have a unique weight
- Reference table shows existing stages and weights
- Validation error displays when duplicate weight is entered
Comment thread docs/stages/stages.rst
**Description** - To help you and other Users easily identify what qualifies a Contact for that Stage, it's recommended to add a description.

**Weight** - Used to decide the progression of your Stages. The greater the Stage weight number, the further along in the funnel a Contact is. Contacts can't move backwards to Stages with lower weights.
**Weight** - Determines the progression of your Stages. The higher the weight number, the further along in the funnel a Contact is. Contacts can't move backwards to Stages with lower weights. Each Stage must have a unique weight. When creating or editing a Stage, a reference table shows existing Stages and their weights to help you choose an available value. If you enter a weight that's already in use, Mautic displays a validation error.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added unique weight requirement and validation error message based on PR #15404 which adds UniqueEntity constraint on Stage.weight and client-side conflict checking via Mautic.initStageWeightConflictCheck() in stage.js.

Source: mautic/mautic#15404

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant