Head (before)

resource by label with VL — Simul8 Community Forum

Head (after)

Ask the Simul8 Community

Content (before)

resource by label with VL

VikiViki
Created at
in Community support

Hi, i'm a student and i have a problem with visual logic. . I want to assign a different type of resource in relation with the label. The code that i have realized is:
VL SECTION: Activity 1 Route In After Logic
Set Resources Required Activity 1 , Resource 4 , 1 , 1
IF lblriso = 2
Set Resources Required Activity 1 , cane , 1 , 1
IF lblriso = 1
Set Resources Required Activity 1 , gatto , 1 , 1
IF lblriso = 3
Set Resources Required Activity 1 , pecora , 1 , 1
I want to assign Resource 4 to all work items. but this code it does not do what I would like. In fact it assigns to each work item all the resources and not the one I indicated in the code.
Any thoughts?

Thank you and be safe.



Comments

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Attach file
Attach image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file

Content (after)