You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Projects will remain in active state (as opposed to paused state) even if the only workflow with unretired subjects is a training workflow.
Solution
Add a config flag or other designation to workflows that are solely used for training and therefore whose status of having unretired subjects should not keep the project in active state.
Overall Desired Behavior of Training Workflows:
Training workflow is always selectable from the project landing page.
Training workflow is not counted toward project stats (subject count, retirement count / fraction, etc; similar to case of defining subject set in training_set_ids key).
Subjects linked to training workflow never retire (note: possible via never_retire retirement strategy).
Additional Info / Context
Explanation why current training set config is insufficient:
Currently, a subject set can be identified as a training subject set (via workflow.configuration training_set_ids key). That configuration will cause subjects in those training sets to be excluded from workflow completeness stats. This is useful for case where workflow has both training and non-training subjects linked. However, in the case of a training-only workflow (only training subject sets are linked), this would lead to the workflow looking complete (i.e., no unretired non-training subjects). This state would lead to the workflow button getting dropped or deactivated on the project landing page -- not a desired behavior for the case of training workflows.
Therefore, it is preferred that the training_set_ids config not be used for training-only workflows and instead make project active/inactive state decision and stats/completeness exclusions based on workflow-level property.
The text was updated successfully, but these errors were encountered:
Need to add a list of workflow IDs to the project configuration that correspond with the "intro/fake/do-not-count-me-for-project-completeness" workflow. Then, here:
In the paused/active question, include a check to see if the ID of the workflow that would keep the project paused is included in that configuration object. If so, ignore it and pause the workflow anyway.
Problem
Projects will remain in active state (as opposed to paused state) even if the only workflow with unretired subjects is a training workflow.
Solution
Add a config flag or other designation to workflows that are solely used for training and therefore whose status of having unretired subjects should not keep the project in active state.
Overall Desired Behavior of Training Workflows:
training_set_ids
key).never_retire
retirement strategy).Additional Info / Context
Explanation why current training set config is insufficient:
Currently, a subject set can be identified as a training subject set (via workflow.configuration
training_set_ids
key). That configuration will cause subjects in those training sets to be excluded from workflow completeness stats. This is useful for case where workflow has both training and non-training subjects linked. However, in the case of a training-only workflow (only training subject sets are linked), this would lead to the workflow looking complete (i.e., no unretired non-training subjects). This state would lead to the workflow button getting dropped or deactivated on the project landing page -- not a desired behavior for the case of training workflows.Therefore, it is preferred that the
training_set_ids
config not be used for training-only workflows and instead make project active/inactive state decision and stats/completeness exclusions based on workflow-level property.The text was updated successfully, but these errors were encountered: