How Multiple selection is allowed for variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2023 11:12 PM
Hi team,
I have one variable called as "ServiceNow Environment" with choices prod, dev, and test. 'Dev' choice is the default one and the user allow to select multiple values at a time.
How to achieve this requirement.
Regards,
Manasa.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2023 11:45 PM
Hi @Manasa Allu ,
You can achieve the above requirement by creating variables/variable sets. I have same the same by using variables and pasted screenshots below for reference:
You need to create 3 variables of type checkbox and in all of them you have to tick 'selection required'.
The user can now select multiple choices as shown below:
Please mark this as Correct or Helpful if it helps. Thanks.
Mark this as Helpful / Accept the Solution if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2023 08:02 AM
Hi SN_Learn,
How to set the default value as Dev.
Regards,
Manasa.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2023 04:31 AM
Hi @Manasa Allu ,
You can set the default value for the option Dev as 'true' which will set it as selected in Portal by default.
Please have a look at the attached images below:
Please mark this as Correct or Helpful if it helps. Thanks.
Mark this as Helpful / Accept the Solution if this helps.