What is Submit a Request topic flow's 'has_va_support' condition script doing?

rithesh
Kilo Expert

Hi, 

I was checking Submit a Request topic flow, although it's not loading questions anytime. I was wondering what was this condition 'has_va_support' used for? Also, script has 'va_support' to return, I am not sure what it is and couldn't find anything in documentation or contextual search. 

(function execute() {
returnJSON.parse(vaVars.itemJSON).va_support;
})()
find_real_file.png
1 ACCEPTED SOLUTION

That's correct, we cannot access this in the Platform UI. Unfortunately, there's also no documentation on this.

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

6 REPLIES 6

User317960
ServiceNow Employee
ServiceNow Employee

Hi Rithesh,

To add a little more to the replies above, the has_va_support logic essentially checks the catalog item for eligibility to be rendered in the bot (ie. making sure there are no client scripts, no unsupported variables etc).  Apologies that this isn't clear in the designer.  We will look at improving the documentation.

Meghant Rai
Kilo Guru

@Mark Roethof : Is Submit a request VA topic has been depreciated? I am using a PDI of Utah version where I can't find it which lead me to this community article.
If yes then then can you please help me from which release it was depreciated?