Issue: com.snc.process_flow.exception.OpException

ssburto825
Tera Expert

Background: Last week I encountered the above error within a flow. It was stopping on a Submit Catalog Item step. The only official documentation could find was this one: https://lnkd.in/eBsPhbp4. It was not the issue.  


Fix: On this particular catalog item, when a user selects “yes” on one of the variables, this kicks off the step of Submit Catalog item. We put a log step before the failed one using “gs.info("catalog_item_inputs: " + JSON.stringify(flowInputs.catalog_item_inputs));”. It was empty.

Looking at other submissions for this catalog item, we noticed that the flow was working for other users’ requests, but not for this particular user. When looking over the catalog item variables, another developer noticed one that might be causing it. (When looking at the error message, it did not reference this variable at all.)

There is a box on the catalog item that pulls in the user’s assets into a multi-line text variable. For this user, it was pulling in two assets: a MacBook and an iPhone. The MacBook had a description of Apple MacBook Pro 16” Notebook.

The double quotes (“) were the culprit. When that was removed (Apple MacBook Pro 16 Notebook), the flow started working again.

 

1 ACCEPTED SOLUTION

No question. Was told to post for other developers.

View solution in original post

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@ssburto825 

so what's your question?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

No question. Was told to post for other developers.