web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
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

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

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi,

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

    Thanks

  • Community Member Profile Picture
    on at

    Did you get the solution?

  • Suggested answer
    AJAnsari Profile Picture
    5,754 on at

    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.

  • Suggested answer
    Maneesha Profile Picture
    5,891 on at

    you cannot keep multiple source path ,

    just remove one  

  • Suggested answer
    Community Member Profile Picture
    on at

    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.  

  • Community Member Profile Picture
    on at

    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

  • Micheleish Profile Picture
    105 on at

    This was the answer thank you.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans