Workflow State Transition Error: "Workflow State transition not allowed from Booked to Draft"

Hello everyone,

I’ve set up a workflow for a custom DocType in Frappe, and I’m encountering an issue with state transitions. The workflow works as follows:

  1. Initial State: Draft
  2. Review Action: Changes state to Booked
  3. Check-in Action: When the user tries to change the state from Booked to Check-in, I get an error saying:
    Workflow State transition not allowed from Booked to Draft

This error seems odd since I’m not transitioning back to “Draft”. I’ve double-checked the workflow configuration, and all the states and transitions seem correct.

Has anyone else experienced this issue, or am I missing something in the workflow configuration? Any guidance or suggestions would be greatly appreciated!

Thanks in advance!




Hi @ashique11,
Are you updating older transactions after updating the Workflow.
In that case this error might be possible.
Try to create new one and check workflow is that working fine or not?

Tried to create new one, the review action is working correctly, after the account user changed the state to check-in the error raising. even i cleared all data in the doctype and recreate the workflow. but the error still there