ValidateWorkflowStateValues
-
- UpdatedAug 1, 2024
- 1 minute read
- Xanadu
- Workflow
The ValidateWorkflowStateValues validator checks a number of stage aspects in workflow activities for correctness.
This validator has multiple possible error messages.
Validation summary
- Risk: The stage indicators may not display appropriate information.
- Severity Level: Warning.
- Valid Result: Valid.
- Valid Message: Workflow stage values are valid.
- Invalid Result: invalid.
- Warning summary: Stage warnings found.
- Invalid Messages:
- Stage with empty name is not allowed.
- Stage with empty value is not allowed.
- Cannot have more than one stage with the same name: x.
- Cannot have more than one stage with the same value: y
- Suggested Action: If this is not by design, make the appropriate changes.
- Publishable: Yes.
- Runnable: Yes
- Related Information: Workflow activities.
Troubleshooting
Use the following procedure to troubleshoot this validator:
- Open and check out a workflow.
- Open the list of stages for the workflow by selecting the menu icon and selecting Edit Stages.
- Check the names and values.
Ensure that the names and values are unique and are not empty.
- If the same stage name or value apprears more than once, remove one of the rows. It is then very important to go through the workflow and reassign stages in the activities that used the removed stage.
Figure 1. Validate Workflow Stage Values
Tip: Make a list of which activities assign which stages.