question

Jhon Alexander SD avatar image
0 Likes"
Jhon Alexander SD asked Jhon Alexander SD commented

How do I tell the Decide to execute both activities at the same time?

I need that in the Decide of the Process Flow the two activities are executed at the same time and the boxes accommodate in the rack according to the designated groups.

proyect-end-autosave.fsm

FlexSim 19.2.3
process flowrackdecideslottype
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

Matt Long avatar image
2 Likes"
Matt Long answered Jhon Alexander SD commented

A single token only executes one activity at a time. In order to execute two blocks of activities, you'll need to split your token into two. This can be accomplished with the Coordination activities. The Split activity will create new tokens based upon how many connections out the split activity has.

You have to keep in mind that each token still executes activities one after another until the token reaches some kind of blocking activity (a Delay, or an Acquire that causes the token to wait for a resource as examples). If you need the two tokens to stay synced as they each move through your flow, you can use the Synchronize activity. The Synchronize activity will wait until the tokens that came from the Split activity both enter the Synchronize activity.

Here's an example of what that may look like. You may need more or less synchronize activities depending on your desired result.

For more information, see the user manual's Process Flow Coordination page. (User Manual > Building the Model's Logic > Additional Process Flow Concepts > Process Flow Coordination)


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

Jhon Alexander SD avatar image Jhon Alexander SD commented ·

It helped me

0 Likes 0 ·