how can we get value of variable set from the workflow

divyal09
Tera Contributor

How to get the value from variable set in the workflow so that the catalog task which is getting created gets assigned to particular assignment groups based on the variable set values.

as per the variables set values catalog task should be assigned.

9 REPLIES 9

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

You should be able to access them using below

current.variables.<variablename>;

 

-Anurag

Variable set holds multiple values, user can select multiple values.

I might be missing something.

 

Variable set is a collection of variables, you will have to read one individually to get the value. Is this not what you want to do?

 

-Anurag

What I mean is the in the form user needs to select hardware so we have defined variable set to select the hardware and the quantity of hardware, user can select multiple hardwares like headset, monitor, printer and the quantities. So based on this selection task ticket should get created and assigned to particular group based on hardware selection