Skip to content
Settings

WORKFLOW_NOT_FOUND — workflow definition does not exist

cyoda-go version 0.6.2

WORKFLOW_NOT_FOUND — the workflow definition referenced by the entity model or the request does not exist.

HTTP: 404 Not Found. Retryable: no.

Entity models reference a workflow by name to govern state transitions. This error is returned when the named workflow cannot be found in the tenant’s workflow registry, during entity type registration or when a model references a workflow that was deleted.

Not retryable. Associating a model with a workflow requires the workflow to exist in the tenant’s registry.

  • errors
  • errors.TRANSITION_NOT_FOUND
  • errors.WORKFLOW_FAILED
  • cyoda help errors — Every error response from the Cyoda REST API carries a structured errorCode in the properties object. Multiple codes may share the same HTTP status. Programmatic handling keys on errorCode, not HTTP status.
  • cyoda help errors TRANSITION_NOT_FOUND — Entity workflow state machines define explicit transitions between states. This error fires when a transition is triggered that does not exist in the model’s workflow definition for the entity’s current state. Also occurs when the transition name is misspelled or when the entity is in a terminal state that allows no further transitions.
  • cyoda help errors WORKFLOW_FAILED — During an entity create or transition operation the associated workflow processors (pre-processors, post-processors) or guard conditions ran but one of them signalled failure. The failure message from the processor is included in the error detail.