Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

Workflows BC

(0) ShareShare
ReportReport
Posted on by 44

Good day,

I am facing the following situation when working with approval workflows:

  • Workflow A (Conditions: Document Type: Invoice, Status: Open, Amount: >1000)
  • Workflow B (Conditions: Document Type: Invoice, Status: Open, Amount: >1000, Salesperson: LM)

When I create a new invoice, set the salesperson to LM, and submit it for approval, the system routes it to Workflow A.

It seems that the system checks Workflow A first, and if the conditions match, it routes the invoice through that workflow. However, I had understood that the full set of conditions must be met in order for an invoice to be routed through a specific workflow. Could you please clarify why the system is routing it to Workflow A instead of Workflow B, given that B has an extra condition?

 
Categories:
  • Verified answer
    Yi Yong Profile Picture
    Yi Yong 1,412 Super User 2024 Season 2 on at
    Workflows BC
    Hello,
     
    The system will look for the first workflow sorted by "Workflow Code" field.
    "Workflow Code" field is hidden, you will need to use personalize mode to drag it out.
    You can see that $1000 + Salesperson LM is the second workflow.
    Hence, the first workflow, $1000, will always be the first workflow system finds that matched the criteria.
     
    You need to change the Workflow Code so that $1000 + Salesperson LM is the first workflow system will check against.
     
    Otherwise, you can add additional filter on $1000 workflow with <>Salesperson LM.

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

News and Announcements

Announcing Category Subscriptions!

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,320 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans