Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Workflow User group for Sequence 2

Posted on by 4,184

Hi,

I've a Purchase order workflow with workflow user group having 4 approval members. three members with sequence 1 and one approver with sequence 2.

the requirement is such that once the sequence 2 user approves then the Purchase order should Release.

I've tried adding the condition in the workflow : Pending approval 2 AND Sequence 2 AND Status Approved but the document doesn't release.

any suggestions?

*This post is locked for comments

  • Sneha Shetty Profile Picture
    Sneha Shetty 5 on at
    RE: Workflow User group for Sequence 2

    Hello,

    If any one of your 3 users approve the request, an approval request will be sent to the user with sequence 2.==> For the other 2 Approvers from Sequence 1, the Approval Status will still be Open. Do you know how can we make them Approved (for all approvers from Sequence 1)

    Thanks & Warm Regards

    Sneha

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Workflow User group for Sequence 2

    Hi Chris,

    thank you for your help. Bye

  • Verified answer
    CDsilva Profile Picture
    CDsilva 4,184 on at
    RE: Workflow User group for Sequence 2

    Hi,

    Firstly when approval is sent, first it is sent for users in workflow user group with sequence 1.

    In your case 3 users with sequence 1 and one user with sequence 2.

    If any one of your 3 users approve the request, an approval request will be sent to the user with sequence 2.

    If you want all users with sequence 1 to approve and only then notification should be sent to user with sequence 2 then you'll require to customize it

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Workflow User group for Sequence 2

    Hi Chris,

    thank you for your reply, now the workflow works fine.

    Do you know if it's possible to send the request and notification to the user with sequence 2 only after users with sequence 1 have approved their request?

    Thanks,

    Samuele

  • Verified answer
    CDsilva Profile Picture
    CDsilva 4,184 on at
    RE: Workflow User group for Sequence 2

    Hi Samuele,

    I've not written any code for it but only made changes to the workflow condition as below image.

    This is standard Purchase Quote workflow only I've changed the conditions

    5340.Capture1.JPG

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Workflow User group for Sequence 2

    Hi Chris,

    i've tried to follow your instruction but i haven't been able to make the workflow works.

    i have a vendor qualification workflow with workflow user group having 4 approval members: three members with sequence 1 and one approver with sequence 2 like your workflow.

    Could you please paste the code of your workflow so i can see more details?

    Many thanks,

    Samuele

  • Verified answer
    CDsilva Profile Picture
    CDsilva 4,184 on at
    RE: Workflow User group for Sequence 2

    Hi All,

    I resolved this issue. In the Workflow condition set Sequence as 2 and Status as Approved and it works!

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans