Skip to main content
Post a question

Notifications

Community site session details

Community site session details

Session Id : eyJDcEjAV7h37sxrf9CEhz
Supply chain | Supply Chain Management, Commerce
Unanswered

Vendor Request (VendRequestNVATemplate) Workflow Error, Debugger not Catching

Like (1) ShareShare
ReportReport
Posted on 20 Jan 2025 17:49:37 by 954
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 !
  • Jonas "Jones" Melgaard Profile Picture
    3,289 Super User 2025 Season 1 on 20 Jan 2025 at 20:46:22
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,518 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,594 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading complete