I have created a “Widget Request” doctype. All users have the ability to create a new “Widget Request” and save it. When users save the Request, it goes into the “Draft” state.
I don’t want new document to go into Draft state. Instead I want to have the saved document go directly to a workflow state called “Pending Approval” where it is no longer editable to original user. Only a special Approver role can edit it in pending state.
I can’t figure out how to skip the Draft state and go directly to the Pending Approval state.
The point of this is that I don’t want the original user to have to click “Save” and then also click “Submit Request” as an additional step to submit it for approval. User should fill out form, click “Save” or “Submit” or something once and be done.
If I try to leave out the “Draft” state in the Workflow, the Workflow warns me that Draft is missing from the states. And if I try to create a document and save it, it won’t save properly due to the absence of draft state; it throws an error that says " Workflow State transition not allowed from Pending Approval to Draft"
How can I skip Draft state and go directly to the “Pending Approval” workflow state when the form is first created?