The CreatorCon Call for Content is officially open! Get started here.

Variable type - Help required

Adil N
Tera Expert

Hi all, 

 

I am trying to figure out which variable type i need to select what i want (see screenshot is the ability to select quantity type if one the the options is chose 

 

so for example if they choose monitor and keyboard they will have an option to input monitor x 4 

keyboard x 3 etc 

 

Any help is much appreciated 

 

TIA

 

 

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@Adil N 

your requirement is not clear.

what user will select once they select the checkbox

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Ashish Parab
Mega Sage
Mega Sage

 

Hello @Adil N ,

 

As per my understanding, the requirement you gave is that you want a variable where you can add the quantity for selected equipment.

 

I suggest creating a Select Box where you can add options (e.g., 1, 2, ... 10). If the options are unpredictable, create a Single Line Text variable and apply validation to only accept integers. Each checkbox should have a separate variable to enter the quantity, which will be visible only when that checkbox is checked (utilize a UI Policy for this).

Let me know if you want any further assistance.

 

Please mark my response as Correct and Helpful if it assists you.


Thanks,
Ashish

 

Kusal45
Tera Contributor

Hi @Adil N I suggest you to create a multi row variable set with two variables.

1)equipment to be moved - select box

2) Quantity - single line text
Check the attachment for your reference

Kusal45_0-1760372820026.png

Please mark my response as Correct and Helpful if it helped you.

 

Thanks