cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Automatically update number of resources in ProcessFlow

Automatically update number of resources in ProcessFlow

Hi guys. I hope this is the right place to post our feature request.

In Process Flow, we often create an Object Group and assign that to a resource. When you first do this, the Number of Resources is set to the number of objects in the group. However, this number does not automatically update when you change the object group. We have already run into a few cases where fewer resources than available were used, because the number of available resources had not been increased.

Which brings me to the request: It would be great if either the number field is grayed out when you select an object group in a Process Flow Resource (and it just uses all the objects in the group), or we get an option in the dropdown that reads "Number of objects in group" with a nice code snippet behind it that automatically calculates the content() of the group.

7 Comments
shankar_narayan
Not applicable

Hello Mischa

Not sure whether this helps but have you tried calling this command -groupnummembers("groupname") in the Number of Resources field ? I tried it on a simple PF and it seemed to report the correct number during run time. Hope this helps.

matt_long
Not applicable

This is the correct way to do it. In the first release of Process Flow we did gray out the count field when using groups, but we immediately got the request to allow you to use a subset of the group. So there are no plans to go back to graying it out, but perhaps there should be a pick option for this.

JordanLJohnson
Autodesk

In 17.2, you could use the code Group("GroupName").length

matt_long
Not applicable

This is the default when you select a group from the drop down.

matt_long
Not applicable

In FlexSim 2017 this was changed to use groupnummembers() and in 2017 Update 2 it uses Group().length.

alejandra_n2
Not applicable

Where exactly I add this command of Group().length.?

1.jpg

It should do that for you automatically. Just select a Group as the Resource Reference and the Count field will be updated and say Number of Group Members and the code behind it uses the Group(" ").length code.

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea