HAM asset receiving in now agent app is not working

rakeshgaddam187
Tera Contributor

In now agent app when I try to receive a purchase order line item, after submitting the asset details (serial number and asset tag) it throwing an error "Something went wrong". The user has procurement_user role.

1 REPLY 1

Tanushree Maiti
Kilo Patron

Hi @rakeshgaddam187 

 

Check this  for troubleshoot your issue:

 

Potential Causes:

1. Custom implementation which is not following OOB (out of box) standard. Parameters or script processing may contain errors and cannot process the submission

2. Redirect success or fail is incorrectly hardcoded to work with /sp instead of dynamically using the original URL which can interpret for both /sp and /mesp

 

Solutions for Causes Mentioned above:

1. Find the catalog item and check version to see if it has been modified. Take the Sys ID and compare the Catalog item from OOB to find differences in implementation

    You may also use gs.info/log output to debug and trace through parameters to see if there are any parameters or conditions which may be failing and causing the page to fail on submission.

 

2. Check the producer.portal_redirect line. If customer implements producer.portal_redirect = "sp?...." then this will cause an error as SP page will not load on mobile. OOB implementation uses: producer.portal_redirect = "?id=

Refer: KB0997700 Catalog Item on Now/Agent Mobile App showing "Something went wrong and your request could ... 

 

 

Also Refer:

https://www.servicenow.com/community/ham-forum/update-asset-tags-when-receiving-a-purchase-order/m-p....

 

KB0868248 Getting Error when receiving the Purchase Order with Asset tag and Serial Number 

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: