Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2020 10:27 AM
Hi Sujatha,
please try this
Ensure you use valid variable names
var str = '';
if (current.variables.variable1.toString() == 'true') {
str = str + "Application Access 1,";
}
if (current.variables.variable2.toString() == 'true') {
str = str + "Application Access 2,";
}
if (current.variables.variable3.toString() == 'true') {
str = str + "Application Access 3,";
}
if (current.variables.variable4.toString() == 'true') {
str = str + "Application Access 4";
}
task.short_description = "User selection" + str;
Regards
Ankur
Regards,
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader