Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Decision for Caurosel User Input for Virtual Assistant

ZhiWei
Tera Contributor
 ZhiWei_0-1710296912176.png

 

I am unable to make use of the values to be part of the decision branch options.

It is showing me empty and not empty values. I was expecting to have option1, option2 and option 3 to create the branches. Any help is appreciated.

 
Define Caurosel items:
(function execute() {
var options = [];
options.push(
{
'Name': 'Option 1:',
'Value': 'option_1',
'Description': 'Description',
'Body': 'jpg link'
}
);
options.push(
{
'Name': 'Option 2: ',
'Value': 'option_2',
'Description': 'Desciption2',
'Body': 'jpg link'
}
);
options.push(
{
'Name': 'Option 3: ',
'Value': 'option_3',
'Description': gs.getMessage('Oops, this is not I was after'),
'Body': 'jpg link'
}
);
return options;
 
})()
0 REPLIES 0