question

Craig DIckson avatar image
0 Likes"
Craig DIckson asked Matthew Gillespie edited

How to use A * when I create task executer using process flow?

I defined a class of task executers using the flow item bin, and set it to use A*. But when I use process flow to create those task executers, the resulting TEs aren't in the A*. Is there a simple way to make sure they use A*? (If not, is there a complicated way? LOL)

Also I am using 20.1.1 but that's not in the pulldown below yet.

FlexSim 20.1.0
process flowflexsim 20.1.0a star
5 |100000

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

1 Answer

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered Matthew Gillespie edited

Here are the ways to do it currently:

1. In a custom code block after you create the person, use this code to attach the person to the A* Navigator

  1. contextdragconnection(Model.find("AStarNavigator"), token.Person, 'A');

2. In the Create Object activity choose Create In and create the person in the A* Navigator, this will attach the person to the navigator. You might then need to move the person to where you actually want them.

3. Use the Create Person activity instead of Create Object. The Create Person activity automatically does this if there's an A* Navigator in the object. Note, however, that by adding this People activity it will also add a bunch of People groups, lists, and down behaviors to the model as well.

· 4
5 |100000

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