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 :
Supply chain | Supply Chain Management, Commerce
Unanswered

Vendor Request (VendRequestNVATemplate) Workflow Error, Debugger not Catching

(1) ShareShare
ReportReport
Posted on by 1,036
Hi dear community !
 
Vendor Request (VendRequestNVATemplate) workflow in Procurement and Sourcing module is hitting an error. The error says:
"Cannot create a record in Vendors (VendTable). Vendor account: Num-000041, TestVendor
The record already exists."
 
There is customization related to the vendor request, and the vendor id the error is displaying is related to another vendor which is wrong but I'm trying to figure out where the error is hitting and the debugger is unable to display the error when I run the workflow.
Since it's a workflow, I attached the debugger to the "Batch" process. But the debugger is unable to catch the error when I run the workflow.
 
Things I tried:
- Load all symbols
- place break point in workflow classes
- attach the process to batch and iisexpress and w3wp processes
 
Is there another process I need to attach the debugger to?
 
Any advice is appreciated !
Thanks in advance !
I have the same question (0)
  • Jonas "Jones" Melgaard Profile Picture
    4,926 Most Valuable Professional on at
    The breakpoint might be triggered from an unexpected location (e.g., anywhere in the workflow).
    When I’m unsure where an exception message originates, I set a breakpoint in the add method of the info class. Try that and see if the debugger stops at the break point.
     
    The description does not mention if the errors occurs in the user interface. If it appears in the user interface, attach the process to iisexpress/w3wp. Otherwise attach to batch.

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 > Supply chain | Supply Chain Management, Commerce

#1
Siv Sagar Profile Picture

Siv Sagar 266 Super User 2025 Season 2

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 213 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 140 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans