Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Sales order approval workflow - Stuck at Pending approval

Posted on by Microsoft Employee

Hi all,

Hoping someone can help! I've attached the XML but have a sales order approval workflow, which points to a user group with two approvers (seq 1 and 2). The workflow activates as expected and once seq1 has approved another request is sent to seq2, which is then approved aswell. The issue is that it does not seem to get to the step where pending approvals = 0 and therefore the response "Release the document". My sales orders are still at the status "Pending Approval". 

W/F user group below and W/F xml attached.

[View:/cfs-file/__key/communityserver-discussions-components-files/758/salesorderapproval.txt]pastedimage1605544216605v1.png

Any help would be much appreciated!

Many thanks

Sue

  • Romryan Profile Picture
    Romryan on at
    RE: Sales order approval workflow - Stuck at Pending approval

    Sue,

    Thank you so much. Am gonna try this.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Sales order approval workflow - Stuck at Pending approval

    Hi Romryan,

    I said I would post once I had an answer regarding multi-approvals user w/f user groups - so here it is!

    For the event/condition below there needs to be an "<(optional) Select Next Step>" added to the current response.

    pastedimage1606136173258v1.png

    Although the response, seems identical, you need to pick the one under approval is requested

    pastedimage1606136284878v2.pngpastedimage1606136354324v3.png

    This has worked fine for me, so hope the same for you too.

    Kind regards

    Sue

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Sales order approval workflow - Stuck at Pending approval

    Thanks Katrin and Romryan for your feedback. If I get a resolution using w/f user groups then I will certainly add it to this post.

    Kind regards

    Susan

  • Romryan Profile Picture
    Romryan on at
    RE: Sales order approval workflow - Stuck at Pending approval

    Susan,

    I have tried the same on my custom requisition and I am experiencing the same problem like you.

    The requisition disappears from the list of requests for approval after the approve button is clicked but the requisition status remains "Pending Approval" instead of changing to released. For Now I have changed to Direct approver and its working but If you get the solution on use of user group, kindly post it here with no hesitation. I will do the same if I get the solution.

  • Suggested answer
    Katrin Kinau Profile Picture
    Katrin Kinau on at
    RE: Sales order approval workflow - Stuck at Pending approval

    Hi Susan,

    I did check the workflow provided and from first sight it seems to be ok and I would expect it to work.

    If this issue remains, I would suggest to create a support ticket for this. We can then check this more in detail.

    You can do this yourself if you are a CSP / Dynamics 365 Partner or ask your reseller to create a ticket on your behalf.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Sales order approval workflow - Stuck at Pending approval

    Hi Romyan,

    Thanks for responding. I want the restriction to be removed when pending approvals = 0 (ie all have approved). I tried using another condition of where "number of approved requests" = 2 but this had the same result (still stuck at pending approval status).

  • Romryan Profile Picture
    Romryan on at
    RE: Sales order approval workflow - Stuck at Pending approval

    what if you change pending approvals = 0 to  pending approvals = 1 or 2... depending on the number of subsequent approvals.

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans