INVALID_CHARACTER_ERR flow error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2025 10:38 PM
Hi Team,
I am unable to activate the flow because of below error.
INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
Can someone let us know what exactly we need to check to get this issue resolved?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 12:53 AM
@ShAn21 - Is it possible to share screenshot of flow which you have designed. Also, while standard actions been called is it updating data with some static value? Or the flow/subflow being called does it required input parameters in format and you are not passing it properly?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2025 11:39 PM
the INVALID_CHARACTER_ERR in flow designer is usually caused by invalid XML characters in the flow's data.
steps to fix:
- check input variables: ensure there are no special or hidden characters in the variables used in actions.
- review data pills: remove and re-add data pills, as they might contain corrupt data.
- check script actions: If using script actions, verify that the output does not contain invalid XML characters.
- validate JSON/XML format: If passing JSON/XML data, use string sanitization to remove illegal characters.
- check logs: look at system logs → flow designer → executions for more details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 01:07 AM
share your flow steps screenshots
Try adding the steps again after removing them 1 by 1.
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