Idea

Mischa Spelt avatar image
11 Likes"
Mischa Spelt suggested Matthew Gillespie commented

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.

process flowresourcefeature requestideasobject group
5 |100000

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

Shankar Narayan avatar image
1 Like"
Shankar Narayan commented

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.

· 3
5 |100000

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

Matt Long avatar image Matt Long commented ·

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.

0 Likes 0 ·
Jordan Johnson avatar image Jordan Johnson ♦♦ commented ·

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

0 Likes 0 ·
Matt Long avatar image Matt Long Jordan Johnson ♦♦ commented ·

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

0 Likes 0 ·
Matt Long avatar image
0 Likes"
Matt Long commented

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

5 |100000

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

Ale avatar image
0 Likes"
Ale commented

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

1.jpg

· 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.

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

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.

0 Likes 0 ·

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.