Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

GP 10 WorkFlow Error

Posted on by 60
Hi  All,

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(BusinessObjectSub­missionInformation
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

  • Asma Shaikh Profile Picture
    Asma Shaikh 60 on at
    Re: GP 10 WorkFlow Error

    I got the solution. I was testing it with Administrator credentials. It should be domain user.

     

    Thanks

    Asma 

     

     

  • Re: GP 10 WorkFlow Error
    Hello, I stumbled upon your post while looking for a solution to the exact same issue. You may need to look at the Purchase order that is causing the errors when submitted and verify all of the proper fields are completed. For my issue it was user entry error where the FOB field was left blank on the Purchasing Item detail Entry task screen for a couple of the line items.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans