Skip to content

Documentation for Workflows - Condition Branches #484

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

validbeck
Copy link
Collaborator

@validbeck validbeck commented Oct 22, 2024

Internal Notes for Reviewers

sc-6906

LIVE PREVIEW: https://docs-demo.vm.validmind.ai/pr_previews/beck/sc-6906/documentation-support-for-conditional-branching/guide/model-workflows/set-up-model-workflows.html#condition-branch

Set up model workflows

Added a Condition Branch step to the "Available step types":

Screenshot 2024-10-22 at 2 22 22 PM

Adjusted the Add conditional requirements blurb to include Condition Branch steps:

Screenshot 2024-10-22 at 2 22 44 PM

Manage model inventory fields

Updated the User field entry:

Screenshot 2024-10-22 at 2 23 06 PM

@validbeck validbeck added the internal Not to be externalized in the release notes label Oct 22, 2024
@validbeck validbeck self-assigned this Oct 22, 2024
@validbeck
Copy link
Collaborator Author

Copy link
Contributor

PR Summary

This pull request introduces enhancements to the documentation for managing model inventory fields and setting up model workflows. The key changes include:

  1. Model Inventory Fields:

    • Added a toggle option to allow linking to multiple records in the user selection list, enabling multi-selection of users.
  2. Model Workflows:

    • Introduced a new section on configuring condition branches, which allows diverging paths based on conditional requirements. A default branch is automatically included as a catch-all else path.
    • Detailed steps for configuring condition branches, including adding and removing paths, and linking them to subsequent steps.
    • Provided an example of a condition branch where models with a specific field set to true undergo a special legal approval process.
    • Updated the list of step types that can have conditional requirements to include condition branches.
    • Clarified the process of linking workflow steps together, including approval steps that need to be linked to both rejected and approved status change steps.

These changes aim to improve the clarity and usability of the documentation for users managing model inventories and workflows.

Test Suggestions

  • Verify that the documentation correctly describes the process of enabling multi-selection of users in the model inventory fields.
  • Check the accuracy of the steps provided for configuring condition branches in model workflows.
  • Ensure that the example provided for condition branches is clear and matches the described functionality.
  • Test the linking of workflow steps as described, particularly the approval steps with rejected and approved status changes.

Copy link
Contributor

PR Summary

This pull request introduces enhancements to the documentation for managing model inventory fields and setting up model workflows. The key changes include:

  1. Model Inventory Fields:

    • Added a toggle option to allow linking to multiple records in the user selection list, enabling multi-selection of users.
  2. Model Workflows:

    • Introduced a new section on configuring condition branches, which allows diverging paths based on conditional requirements. A default branch is automatically included as a catch-all else path.
    • Detailed steps for configuring a condition branch, including adding and removing paths, and linking branches to subsequent steps.
    • Provided an example of a condition branch where models with a specific field set to true undergo a special legal approval process.
    • Updated the list of step types that can have conditional requirements to include the new Condition Branch type.
    • Clarified the process of linking approval steps to both Rejected and Approved status change steps.

These changes aim to improve the clarity and usability of the documentation for users managing model inventories and workflows.

Test Suggestions

  • Verify that the documentation correctly describes the process of enabling multi-selection in the user selection list.
  • Check the accuracy of the steps provided for configuring condition branches in model workflows.
  • Ensure that the example provided for condition branches is clear and matches the described functionality.
  • Test the linking of approval steps to Rejected and Approved status change steps as described in the documentation.

@panchicore
Copy link

Yes. 🌞

@validbeck validbeck merged commit 74f2173 into main Oct 23, 2024
6 of 7 checks passed
@validbeck validbeck deleted the beck/sc-6906/documentation-support-for-conditional-branching branch October 23, 2024 14:36
@validbeck validbeck restored the beck/sc-6906/documentation-support-for-conditional-branching branch October 23, 2024 18:47
@validbeck validbeck deleted the beck/sc-6906/documentation-support-for-conditional-branching branch October 23, 2024 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Not to be externalized in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants