I created a workflow for a custom doctype and it says this?
What maybe the cause of this?
Could it be a document record that was created before your workflow? The workflow is picking up that there’s a document where
workflow_state=='undefined'. You could locate the document from the listview to know more.