Skip to main content

Notifications

Announcements

No record found.

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

How to exclude users in dynamics business central workflow

(0) ShareShare
ReportReport
Posted on by 75

Does anyone know a way to exclude multiple users from a JE workflow? We have a JE WF that goes to a workflow user group for approval.

The approver pool has 3 users in it. If any of the users in the approver pool submit a JE for approval, it automatically approves it.

We do not want this. I added a condition in the main JE workflow that says not last modified by User X, (<> user X) and then created a new workflow that has the condition last modified by User X.

This worked but when I tried to add another user to the not last modified by (<>User X|<>User Y) this did not work.

Alternatively, how do I nest conditions in a workflow.

For example, if last modified by user A then got to WF user group for approval, else go to next condition. If last modified by user B then go to WF user group for Approval, else go to next step/ condition, If last modified by user X go to new user group or specific approver, else next step/condition, if last modified by user Y go to new user group or specific approver.

 I see think I see indents. Is this for nesting/loops but I am not sure how to do it.

 Any thoughts?

  • Suggested answer
    MahGah Profile Picture
    MahGah 15,428 on at
    RE: How to exclude users in dynamics business central workflow

    Hi

    Amanda is correct here to use & .

    This is my question: let say you have user 1,2,3 if user 1 submit then user 2,3 can approve. But if you enter & (user1 & user 2) then it means when user 2 send request still user 1 cannot approve (based on filter)

    My suggestion is create different workflow and only filter out one user. This way other users can approve.

  • Amanda Mayer Profile Picture
    Amanda Mayer 205 on at
    RE: How to exclude users in dynamics business central workflow

    I'm not sure, as I haven't done this, but to combine exclusions in BC filtering you need to use the ampersand. Instead of (<>User X|<>User Y) try (<>User X&<>User Y).

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans