Workflow Management Issue

Im being trying to create a workflow that will bounce back to the initiated user if a manager rejects it. Below are the snippets of it.

Please find Loan Application Data doctype below

Please find Workflow States below

Please find Transitions below

When I try to create and submit a document from a user with ‘Loan Applicant‘ role its persisted in mariadb with Draft workflow_state. But I feel it should move to “Pending Manager 1“ state. Am I doing something wrong here. I feel the docstatus should only reach 1 if it completes the whole workflow.

Any ideas on what im missing here.

Thank you

If the workflow is enabled then it should not have allowed you to submit the document. Please ensure the “Is Active” checkbox is ticked on the workflow document.

When you created a new Loan Application Data, it should be saved in the Draft state and an “Action” button should show a drop-down for “Submit Application” which should change the status to “Pending Manager 1”. Please ensure that the user only has “Loan Applicant” role mapped.

1 Like

Its already active. Found the issue. It had to do with the wording “submit application“. Instead used “Submitted“ and this worked fine.

1 Like