I have created a multi level approval workflow as state machine workflow. There are three levels , Supervisor / Manager / Director.
For all these levels , I created reusable list workflow , and from the parent WF I am calling this secondary WF , passing parameters , such as approver name etc.
When I manually ran secondary WF , it just runs fine wihtout any issue. When it is called from Supervisor state, runs fine, Only when an employee who's approver is Director (say Mangers , where they only need to be approved by Directors), the workflow creates the approval task, however , parent workflow throws exception in history list as :
Failed to invoke web service. Error returned from server: <soap:Fault xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>soap:Server</faultcode><faultstring>Server was unable to process request. ---> The selected workflow 'Appraisal_Appr"
This is strange ,if it is failed to call webservice how come it is creating approval task via secondary workflow?
Here is my Primary (Calling WF)
and here is my secondary (Approval WF)
Any help is appreciated,