Workflow Validation Rules
Note: Workflows are currently in Beta. Features and behavior may change as the Beta evolves.
Workflows are validated against a defined set of rules that help ensure flows are compatible with the Agentic API and can be reliably interpreted by AI agents.
When creating or editing flows within a Workflow Entry Point, Procedureflow automatically validates your changes against these rules. If a flow does not comply with the rules, validation errors are displayed, and the flow cannot be saved until the issues are resolved.
For more information about Workflow Entry Points and validation, see Workflows.
Entry point rules
Workflow Entry Points define the navigation boundary for the Agentic API
- The Agentic API can navigate to any flow within the same entry point.
- The Agentic API cannot navigate to flows outside the entry point.
Shape rules
The following shapes are supported in Workflows:
- Action
- Decision
- Backstory
- Critical
- End
- Action shapes linked to another flow
Additional shape requirements in a workflow:
-
Flows must begin with an Action, Backstory, or Decision shape.
Flows must begin with an Action, Backstory or Decision shape. -
Flows must end with an End shape.
End flows with Action Shape -
Text hyperlinked to URLs or flows is supported, but hyperlinks are displayed as plain text and not navigated during Agentic API navigation.
Text hyperlinked to URL is allowed, but plain text will be displayed not navigated -
Flow links created through linked Action shapes are supported and can be navigated by the Agentic API.
Flow link to new and existing flows is allowed. Flow will be navigated
Shape connector rules
|
Shape |
Incoming connectors |
Outgoing connectors |
Requirement for connectors |
| Start Shapes (Action, Decision or Backstory) | None | Only 1 | Connectors must not have a label |
| Action | 1 or more | Only 1 | Connectors must not have a label |
| Backstory | 1 or more | Only 1 | Connectors must not have a label |
| Decision | 1 or more | 2 or more | Outgoing connectors must have labels |
| Critical | 1 or more | Only 1 | Connectors must not have a label |
| End | 1 or more | None | Connectors must not have a label |
Connector rules
- Connectors must connect two shapes.
- Connectors must be attached using the connector sockets on each shape.
Exceptions
The following exceptions apply to Workflow validation:
- Shapes that are not connected to a flow are ignored during validation.
- Empty flows are considered valid.