Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Workflow Error - "You must specify unique event conditions on entry-point steps that use the same table."

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Everyone,

I've developed two approval workflows that are triggered when an approval request is sent from a sales order.  Each workflow has unique sales line conditions associated with the Entry Point Workflow Step.  However, they both share the same set of sales header conditions for the Entry Point Workflow Step.

I assumed, incorrectly, that as long as the combination of the sales line and sales header conditions were unique for each workflow, both workflows could be enabled at the same time.  That isn't the case, unfortunately.  When I tried to enable both workflows at the same time, NAV barked this error: 

"One or more entry-point steps exist that use the same event on table Sales Header.  You must specify unique event conditions on entry-point steps that use the same table."

I can get creative with the event conditions, however, the combinations I've considered would confuse my client.  Also, I'd prefer to not change the application code and further modify my client's environment.  So, any advice as to how to avoid this error, would be helpful.

Thanks, everyone!

*This post is locked for comments

  • Micheleish Profile Picture
    Micheleish 99 on at
    RE: Workflow Error - "You must specify unique event conditions on entry-point steps that use the same table."

    This was the answer thank you.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Workflow Error - "You must specify unique event conditions on entry-point steps that use the same table."

    Thank you so much. We set difference workflows with specfic condition to cater mutiple item catagories in the purchase line level. How to make it work for multipule workflow in purchase line level instead of purchase header? 

                workflow-for-item-catagories.png

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Workflow Error - "You must specify unique event conditions on entry-point steps that use the same table."

    Our solution was to create multiple workflows, but each was unique with a useless field in the header.  IE each workflow I have created has a document date greater than a unique day in the year 1901.  Then the workflow will go through the rankings to find the first suitable workflow for that situation, use that workflow and only that workflow.  

  • Suggested answer
    Maneesha Profile Picture
    Maneesha 5,889 on at
    RE: Workflow Error - "You must specify unique event conditions on entry-point steps that use the same table."

    you cannot keep multiple source path ,

    just remove one  

  • Suggested answer
    AJAnsari Profile Picture
    AJAnsari 5,754 on at
    RE: Workflow Error - "You must specify unique event conditions on entry-point steps that use the same table."

    Hi Matthew,

    Short of modifying code, I think your best bet is to combine them into a single workflow.

    I notice that you mentioned getting creative with the event conditions. In case you're looking for further inspiration, take a look at the 'Workflow Templates > Purchase Documents > Purchase Order Approval Workflow' in NAV 2017.

    It has a mix of what happens when various conditions occur for the same event (Approval Request is Approved with Pending Approvals = 0, or Approval Request in Approved with Pending Approvals > 0), as well as when the events differ (Approval Request is Approved, or Approval Request is Rejected).

    Hope this helps.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Workflow Error - "You must specify unique event conditions on entry-point steps that use the same table."

    Did you get the solution?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Workflow Error - "You must specify unique event conditions on entry-point steps that use the same table."

    Hi,

    Having the same problem here, did you find a solution that didn't require code?  

    Thanks

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,187 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,966 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans