Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

Can we add validation messages in VA Conversational Catalog during form submission

N_Snow
Tera Expert

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!

3 REPLIES 3

Ankur Bawiskar
Tera Patron

@N_Snow 

screenshots please

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

Tanushree Maiti
Tera Patron

Hi @N_Snow 

 

You can try with modifying the underlying Virtual Agent topic block.

Refer: https://www.servicenow.com/community/virtual-agent-nlu-forum/virtual-agent-pop-up-form-submission-aw...

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

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

Vikram Reddy
Tera Guru

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