Workflow Error on update

Hi,

i wondering if everyone ever facign the same problem

i made a workflow but when do save and there is some error such as Negative stock error the workflow is updated but the doctype remain as draft - 0

i wonder there is a solution for this ?

Thanks