question

Ale avatar image
0 Likes"
Ale asked Matt Long commented

Token trace

In my model I have a decision point where on a workstation called molding:

1. connector #1 uses the full process time. When done the operator drops it on a queue for the next testing workstation to continue.

2. connector #2 uses half of the process time and drops it on a different molding machine(we have in total 8 machines that it can be dropped to) so it can process the other half of the time.1.png

So far the blocks on connector #2 have the destination to a different molding machine to complete half of the time.

my question is how can that token with half of the remaining time be recognized/acquired by the operator and knows to drop it to the final destination queue(testing)?

Do I use a label? a 3rd decision point?

token trace
1.png (41.3 KiB)
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
0 Likes"
Matt Long answered Matt Long commented

Seems like it would be easiest to do with a label. If everyone going through connector 2 ends up at the testing queue, you could add an Assign Labels to connector 2 before the Decide and set the destination to the testing queue. Then it's easy to access once you need it.

· 7
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 Ale commented ·

@Matt Long could you please provide me an example?

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

I've attached a simple model showing an example. Should be pretty self explanatory. processitems.fsm

-1 Like -1 ·
processitems.fsm (30.0 KiB)
Ale avatar image Ale Matt Long commented ·

@Matt Long please see attached pic to explain what im trying to do.1.jpg

0 Likes 0 ·
1.jpg (48.9 KiB)
Show more comments
Ale avatar image Ale commented ·

How does it recognize that is the same token with half of the process time when its coming from a different Place? I have information that will be coming from 8 different places. How it will know if it has to send that token to a different machine or final destination?

0 Likes 0 ·
Ale avatar image Ale Ale commented ·

I know how to send it to the right place by adding the activities but how does the system recognized that a token is half way though and needs to be send to a final destination?

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

I don't have your model so I don't know exactly how you're doing all of your logic, but in the model I shared I store all of that information on the tokens as labels. You can specify the process times, destinations, etc using labels. If you're having the token move through multiple machines in one process, you could set a label on the token and increment that label each time it goes through a machine and then compare it to another label that was set at the beginning that specifies how many machines it will move through.

0 Likes 0 ·