web
You’re offline. This is a read only version of the page.
close
Skip to main content
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,013
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,798 Super User 2025 Season 2 on at
    Vendor Request (VendRequestNVATemplate) Workflow Error, Debugger not Catching
    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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
André Arnaud de Calavon Profile Picture

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

#2
Yng Lih Profile Picture

Yng Lih 148

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 104 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans