Skip to main content

Notifications

Announcements

No record found.

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

What happens if 2 workflows conflict

(0) ShareShare
ReportReport
Posted on by 4

Hello,

I have to create two different workflows. For example in the first one for all type of purchase orders, Person A is the approver of Person B and Person B is the Approver Person C. Person B has 500 dollars limit to approve and Person A has the unlimited approve limit. Shortly :

Person A (unlimited)  > Person B (500 dollars limit) > Person C

But for a specific type of purchase order, I want to create another one, which in this case, Person C can approve this specific type of purchase order of Person B. (Amount of this type order is always more than 500 dollars.)  First workflow is general and for all type of purchase orders when second one is just for one type of purchase orders. Even though I can specify it with some filters and go live, there is a conflict of two different types of workflows. I tested it but the second one didn't work, it still asks for the approve when Person B enter the specified purchase order which I mentioned in second workflow.

How can I solve this?

(P.S : I used Salesperson/Purchaser code and Approver Chain type for Approver Type and Limit)

Thank you so much for your help,

Kindest regards.

  • Suggested answer
    Brad_P Profile Picture
    Brad_P 1,542 on at
    RE: What happens if 2 workflows conflict

    Hi,

    If you're working with a customization already, add and order type to the Purchase Order. You can then filter the order type for workflows or other tasks in Business Central. It will also allow for this to easily extend to other order types if it occurs. Document Nos. are a good visual queue but don't lend well to processing.

  • Suggested answer
    Amit_Sharma Profile Picture
    Amit_Sharma 2,545 on at
    RE: What happens if 2 workflows conflict

    Hi,

    They are running sequentially.

    Regards

    Amit Sharma

    www.erpconsultors.com

  • Elnur Profile Picture
    Elnur 2 on at
    RE: What happens if 2 workflows conflict

    May be you can use 2 Workflow user groups?

    and as I know sequence of the workflows depend on the their code, for example first will be MS-POAPW-01, second MS-POAPW-02 etc.

  • Suggested answer
    MahGah Profile Picture
    MahGah 15,433 on at
    RE: What happens if 2 workflows conflict

    Can you add filter for No (Document No) and something like that first letter then star (like p*)? for others something like <>p* ? 

  • Oguzhan Gok Profile Picture
    Oguzhan Gok 4 on at
    RE: What happens if 2 workflows conflict

    The difference is the type of the purchase order, but it is something that we customized with developers (differentiate by first letter of purchase order no). So I couldn't find a way to add this to workflow

  • MahGah Profile Picture
    MahGah 15,433 on at
    RE: What happens if 2 workflows conflict

    Hi

    As Daniel mentioned you need to find the way to exclude this "special type" of PO from others. What makes this PO special? Only creation by user B or other criteria?

  • Oguzhan Gok Profile Picture
    Oguzhan Gok 4 on at
    RE: What happens if 2 workflows conflict

    Unfortunately it didn't work

  • Suggested answer
    DAnny3211 Profile Picture
    DAnny3211 9,274 Super User 2024 Season 1 on at
    RE: What happens if 2 workflows conflict

    hi

    try this

    pastedimage1666858531383v1.png

    DAniele

  • Oguzhan Gok Profile Picture
    Oguzhan Gok 4 on at
    RE: What happens if 2 workflows conflict

    I couldn't manage it, since the first one is for all purchase orders and second one is just one type of it, I couldnt figure out how can I exclude with the fonction "not equal to". Because for the second one I used Assigned User ID extra but I'm open to all suggestions to do that !

  • Suggested answer
    DAnny3211 Profile Picture
    DAnny3211 9,274 Super User 2024 Season 1 on at
    RE: What happens if 2 workflows conflict

    hello

    in the first workflow you should exclude the second workflow with filters anyway

    if you haven't already done so

    DAniele

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,476 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans