Workflow error: The company does not exist

Hi all,

I configured a purchase requsition workflow based on management hierarchy in AX 2012. On the first step of workflow it throws an error:

" X++ exception: stack trace :The company does not exist"

and workflow didn’t process. How can I fix this problem?

Thanks for answers.

Sefa.

Further debug which company it is referring to. Make sure the position hierarchy is defined for the organization. Provide us more details in case if it is still not solved.