Create and add Operators to Groups in processflow

Create and add Operators to Groups in processflow

jason_botha
Not applicable
243 Views
6 Replies
Message 1 of 7

Create and add Operators to Groups in processflow

jason_botha
Not applicable

[ FlexSim 16.2.0 ]

Hi there,

I am building a large manufacturing model where i have about 300 different people who have designated roles and area's where they can operate.

I want to have the number of operators as an input to the model and then Query the resource list to acquire the correct person based on the area and other criteria.

My question is how can i add operators to a group but using processflow and how the group be"updated/refreshed" so the resource activity (which is linked to a group) can pick up the newly added members. I think i am just missing a command that refreshes the group list.

create-and-add-operators-to-group-using-process-fl.fsm

I have added a model where i have tried to do this.

0 Likes
Accepted solutions (1)
244 Views
6 Replies
Replies (6)
Message 2 of 7

sam_stubbsYXX86
Community Manager
Community Manager
Accepted solution

As far as I am aware there is not a way to dynamically change the Resource count by increasing members to the group. However, instead of using a Resource, I would consider using a List to control your logic. A List CAN be dynamically updated and utilized, and also would make the querying functionality that your looking for much easier as well.

0 Likes
Message 3 of 7

Matthew_Gillespie
Autodesk
Autodesk

Are you trying to do this when the model is reset? Or during the model run?



Matthew Gillespie
FlexSim Software Developer

0 Likes
Message 4 of 7

jason_botha
Not applicable

I was trying to do it during the start of the model run.

0 Likes
Message 5 of 7

jason_botha
Not applicable

Thanks Sam,

I have already done this using the list and it works well. The reason i wanted to use a Resource activity is because i pull multiple tokens at once and you can't use an array as a list partition, which i use to sync the tokens before adding them back to the list.

I am now going to make use of a "wait for event" activity instead.

0 Likes
Message 6 of 7

kari_payton
Not applicable
@Sam Stubbs

@Matthew Gillespie Is this still not possible in 2017?

0 Likes
Message 7 of 7

sam_stubbsYXX86
Community Manager
Community Manager

No, Resources aren't meant to be dynamically changed. If you need something dynamic, I would try to push/pull the resources from a list instead.

0 Likes