OK and KO) plus Any, which matches regardless of the status.
- OK: when a workflow step completes as expected.
- KO: when there was an error in the step’s execution.
- Any: will match both
OKandKO.
KO status signal. Since GOBL already handles many of the validations in tax authorities lists, we recommend only implementing conditions which happen in your workflow with certain regularity and which should be handled automatically.
As an example, we will handle the case where a supplier is not registered in the taxpayer census by the AEAT:
1
Add a condition on the step
On the desired step, click on the menu button 
... and select Add condition.
2
Configure the condition

- Status:
KO. - Code:
4107(Tax ID not identified in the taxpayer census). - End workflow here:
✔(the workflow will stop executing after this block).
3
Add an action to the condition block

Related resources
| API Reference | Create a workflow Update a workflow Fetch a workflow |
| Related Guides | Workflows Guide |