Catalog UI Policy is not working on virtaul agent chatbot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 11:55 AM
Hello Dear All, I'm facing issue in catalog UI policy. I'm using below simple script for date field.
function onCondition() {
g_form.setValue("Request_new_expiry" , " ");
g_form.showErrorBox('Request_new_expiry' , getMessage('Req are only valid for 6 months'));
}
I'm getting error message that "Cant find a valid Record" in chatbot, this UI policy is working in service Portal and ITIL but its not working in 'virtual agent chat bot'.
As per below article, its should work as g_form.setValue and g_form.showErrorBox functions are supported in virtual agent.
Can you pls advice where I'm getting wrong?
Thanks,
Ravi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 05:24 PM
Hi @ravish2k,
Are you using Now Assist? because the link you referred to is for Service Catalog topics in LLM.
I would recommend reviewing https://docs.servicenow.com/bundle/washingtondc-servicenow-platform/page/product/service-catalog-man....
Scripted UI policy does not work in Virtual Agent. Please see the document I posted above for more details
If my response helped you, please click on "Accept as solution" and mark it as helpful.
- Saloni