I am receiving an error in GP 10 WorkFlow. At the end the workflow
fails
with the error. "An error has occurred in the Approval Status".
Would be very helpful if any lead could be provided. I googled around
but no solution was specified to this error.
Kindly Advise.
Following is the Content of the Event Log
Action:
SubmitForApproval
Current User LogOnName:
FZE\Administrator
Input parameters:
<RequestObjects>
<ArrayOfBusinessObjectSubmissionInformation xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/
XMLSchema">
<BusinessObjectSubmissionInformation>
<WorkflowName>Dynamics GP Purchase Order Approval Workflow</
WorkflowName>
<OriginalDueDays xsi:nil="true" />
<DueDays xsi:nil="true" />
<Comment />
<BusinessObjectKey>
<KeyParts>
<KeyPart xsi:type="KeyPartOfString">
<Name>PoNumber</Name>
<PartValue>PO2123</PartValue>
</KeyPart>
</KeyParts>
</BusinessObjectKey>
</BusinessObjectSubmissionInformation>
</ArrayOfBusinessObjectSubmissionInformation>
<CompanyKey xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://
schemas.microsoft.com/dynamics/2006/01">
<Id>-1</Id>
</CompanyKey></RequestObjects>
Exception type:
System.InvalidOperationException
Exception message:
The workflow did not start.
Stack Trace:
at
Microsoft.Dynamics.Workflow.WorkflowManager.StartWorkflow(BusinessObjectSubmissionInformation
submissionInformation, WorkflowAssociation wfAssoc, OrganizationKey
organizationKey, Int32 itemId, User securityUser)
at
Microsoft.Dynamics.Workflow.WorkflowManager.SubmitForApproval(Collection`1
submissions, OrganizationKey organizationKey)
Thanks
*This post is locked for comments