
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2023 10:44 AM
Hi,
I have created a flow to submit a catalog request when ci status changed.
Trigger condition works fine but 'submit Catalog Item Request ' action on the flow throws error message
Flow Designer: class java.lang.Long cannot be cast to class org.json.simple.JSONObject (java.lang.Long is in module java.base of loader 'bootstrap'; org.json.simple.JSONObject is in unnamed module of loader com.snc.orbit.container.tomcat8.Tomcat8$OrbitTomcat8ClassLoader
I have created few flow variables(String Type) and set the value from cmdb record.
and passing the values to the action 'submit Catalog Item Request'.
after the execution i can see the above error message.
Please help to identify the cause of the error and how to fix the issue.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 08:24 AM
@Community Alums
Glad to know that my response helped and worked.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 08:24 AM
@Community Alums
Glad to know that my response helped and worked.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader