Error: Cannot read property "_meta" from null
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
Hi everyone,
I'm new to the forums and to service now so go easy!
I'm creating a flow behind a catalogue item which creates a ticket in a queue and then calls a subflow which generates a pdf document of the request. The subflow is very basic - it receives a sys is for a ticket, verifies that the ticket exists, generates a pdf via the API, then attaches the pdf to the ticket.
However I'm running into this error when the subflow runs:
Error: Cannot read property "_meta" from null,Detail: Cannot read property "_meta" from null
The logs seem to hint that the error is with the script, however I don't know where to begin troubleshooting this as the script doesn't include any variables called _meta.
Could anyone give me some hints or insight?
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
it clearly looks like input is not passed to that subflow and hence the error
check that
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
Hi @DamienT
Check you script here. A script in flow or a Flow Designer action is attempting to access metadata or internal tracking data from an object, a record, or an API payload that is completely empty.
You can refer :
"Cannot read properties of null" errors
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti