Import Error due to Workflow

You shouldn't be able to set the workflow state to any other state when importing a document of a DocType with a workflow. The only valid state should be the first.

For instance, the four states of your workflow are draft, sent for approval, approved, and rejected.

Using the Data Import Tool, you get data ready for import and change each record's workflow state to "Approved." This is not permitted by the system since you are changing from the status of Draft to Approved, which is not permitted by your workflow.

The answer is to turn off the workflow, import your data, and then turn it back on.