question

Maíra A avatar image
0 Likes"
Maíra A asked Maíra A commented

How can i set variable by diferents labels?

I would like to use just one "set variable" to input the values of labels inside the variables. How can i do that?

FlexSim 19.0.0
variableset
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered Maíra A commented

The Set Variable activity only allows you to set the value of a single variable.

If you wanted to set multiple values in a single activity you could try using a different sort of variable. For example you could set labels on the Process Flow object itself.

  1. current.Variable1 = token.Value1;
  2. current.Variable2 = token.Value2;
  3. etc..

or you could set global variables

  1. globalVariable1 = token.Value1;
  2. globalVariable2 = token.Value2;
  3. etc...
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.