Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Difficulties with Supplier Onboarding script debugging

jonathandrury
Tera Expert

I have custom requirements for the supplier onboarding playbook.  I made a copy of the OOTB version, and have been working to update it to our requirements. 

 

One thing I have noticed when trying to debug is the sn_slm.SupplierCommonUtilSNC  script files may not be the correct version.  For instance, when I create a new supplier from the workspace button, it hits a breakpoint on  "requestNewSupplier: function(supplierFieldValues) {"   however later in the playbook when I try to invite the primary contact, the action "Onboard new supplier contact" script calls  

 
supplierCommonUtil.requestNewSupplierContact(userFieldValues); 
 
The closest I find in that file is
 
requestNewSupplierContact: function(vendorContactDetails, approvalNeeded)
 
however a breakpoint in that file is never called.   The second parameter is missing, my understanding is that it will just be call with that being undefined. 
 
any help is appreciated.
 

jonathandrury_1-1765397671416.png

 

however later when invting the primary contact, the flow calls

 

jonathandrury_0-1765397584381.png

 

0 REPLIES 0