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.

Maíra A avatar image Maíra A commented ·
0 Likes 0 ·
logica-dolar.fsm (20.6 KiB)

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.

current.Variable1 = token.Value1;
current.Variable2 = token.Value2;
etc..

or you could set global variables

globalVariable1 = token.Value1;
globalVariable2 = token.Value2;
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.

Maíra A avatar image Maíra A commented ·

@Matthew Gillespie I think this work for me! I appreciate your help! Thank you.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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