Can we add validation messages in VA Conversational Catalog during form submission
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello Team,
Could anyone please clarify whether it is possible to display a validation or confirmation message before form submission in Now Assist Virtual Agent for a catalog item, allowing the submission to be aborted based on the user's response?
Any guidance or best practices would be greatly appreciated.
Thank you in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
screenshots please
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @N_Snow
You can try with modifying the underlying Virtual Agent topic block.
Gotchas and Leading Practices: Conv Catalog Items and LLM Topics (w/ Now Assist in Virtual Agent)
Must check this link to know limitation of conversational catalog request:
Now Assist in Conversational Catalog Request: Guidance for making catalog items conversational
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hey @N_Snow,
Don't reach for a catalog client script's onSubmit function here, that's the instinct most people have and it quietly does nothing: catalog client scripts with DOM manipulation are not supported in Conversational mode, and the item just falls back to a window-based form instead of staying in chat. If validation needs to actually block or redirect the conversation, check these instead:
- Set Mandatory directly on the variable rather than through an OnLoad() UI Policy, since OnLoad policies don't reliably fire mid-conversation.
- Use Validation Regex (question_regex table) on the variable for pattern-based checks, this runs server side and works the same in chat as it does on the portal form.
- For anything more conditional than a regex can express, push the check to a Business Rule or Flow after submission, then auto-cancel the request and drop a work note, or route it to an extra approval instead of trying to stop it in-conversation.
Thank you,
Vikram Karety
Octigo Solutions INC