How to enable virtual agent support for particular catalog item

manish64
Giga Guru

Hi I need to enable virtual agent for particular item so that it ask question for particular form .If you see below workflow screenshot for order item conversation there is decision whether  there is va support or not??.

 

find_real_file.png

 

find_real_file.png

 

(function execute() {
var results = JSON.parse(vaVars.results);
var index = 0;
if (parseInt(vaVars.count) > 1)
index = parseInt(vaInputs.catalog_item);

vaVars.selected_link = vaVars.portalName +
'?id=sc_cat_item&sys_id=' + results[index].sys_id;
var itemJSON = new sn_sc.CatItem(results[index].sys_id).getItemForVA();
vaVars.itemJSON = JSON.stringify(itemJSON);
vaVars.itemName = itemJSON.name;
})()

how they are making decision that  we need to ask question or just give link of catalog form 

 

6 REPLIES 6

Yes, no new variables are supported in Orlando. 

Thought I would add a response to this as new variables were added to the 'supported' list in Paris, these are as follows.

Only the following variables are supported:

  • Attachment
  • Date
  • Date/Time
  • Email
  • IP Address
  • Label
  • Lookup Multiple Choice
  • Lookup Select Box (without pricing implications and advanced reference qualifier)
  • Multiple Choice (without pricing implications and advanced reference qualifier)
  • Multi Line Text
  • Numeric Scale (without pricing implications)
  • Reference (without pricing implications and advanced reference qualifier)
  • Requested For (without pricing implications and advanced reference qualifier)
  • Select Box (without pricing implications)
  • Single Line Text
  • URL
  • Wide Single Line Text
  • Yes / No

See this article for more info: Service Catalog topic blocks in Virtual Agent

Hope this helps.

Rich