Error message: Illegal Document Status for Approved

My workflow runs fine on new transaction but for imported transaction I keep on having this error. Any ideas of what cause for this? I replicated my workflow from v12 to v14(new system installed)

Yeah i got a Same issue , You Find any solution.

Hi @Vishnu_Prakash.D,

I found out that I set the document status as submitted(1) when migrating my data. In order the workflow to work you have to update the document status to 0 in the DB or through import Data again.

I hope this helps.

Thank you