Workflow Permission Error: “No permission for Workflow” when requesting approval for Purchase Order

I am trying to configure a workflow for Purchase Orders in ERPNext where a Purchase Manager requests approval from an **Administrator.

Please See Workflow Design Below**

Issue

When the Purchase Manager tries to click Request Approval, ERPNext throws the error:

No permission for Workflow

What I Have Checked

  • The user has the Purchase Manager role assigned.

  • The workflow transition allows Purchase Manager to perform Request Approval.

  • The workflow is active.

  • The Purchase Manager role has Create, Read, Write, and Submit permissions on the Purchase Order DocType.

Question

Is there an additional permission or configuration required for workflows that might cause this error?

Any guidance would be appreciated.

Thank you.

.

Can we try changing the ‘Only Allow Edit‘ in the second row of Document States?

Workflow State is a field in the document that is created after you add a workflow and what you have set here is at Pending Approval only Administrator can edit the form.

@sangosteve

Role Permission Manager for purchase order doctype needs to be defined for administrator role where he has to have submit access so that Approve button can set PO as submitted (docstatus = 1).

Thank you for you kind response let me change that accordingly and let you know.

1 Like

Thank you so much let me implement that and test.

i did all that @ahsantareen & @sahildhania069 advised and it worked!! thank you so much.

1 Like