question

kuo avatar image
0 Likes"
kuo asked Jeanette F commented

How to revise my process flow?

I'd like to ask how can I revise my process flow. As i've attached my model,I create the item and assign label to the items. The items need to go through different process according to their labels.

For example, type 1 need to go to queue 1 first, then be processed, and go to queue 3 next , then be processed. Each queue may be entered several times. I use move object in my subflow, but i have no clue how to move the object after my item is done. That's my question.

And an additional question is, i use change visual in my process flow to change the item's appearance into patient. But it didn't work, the item is transparent. I want to know how to change the visual effectively. Thanks in advanced.

北榮(ver 1).fsm

FlexSim 23.2.1
processs flowvisualsub flow
北榮ver-1.fsm (63.4 KiB)
· 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.

1 Answer

Kavika F avatar image
0 Likes"
Kavika F answered Jason Lightfoot edited

Hey @kuo, let me try to help you solve the errors in your model.

1. You are using a "Change Visual" activity, but are supplying the wrong parameters.

1701806465172.png

You name the token "patient", but that doesn't give it a label 'token.patient', which is what you're trying to access. If you want to change the shape of an object, you first need to have an object appear in your model. You currently don't have one. You should use the "Create Object" activity or "Create Person" activity depending on what you're trying to do. Then you won't need to try to change the visuals. If you're making people to flow throughout your model, you may just want to use a "Person Flow" instead.

2. Your "Decide" activity sends tokens based on a "process" label.

1701806718002.png

However, you never assign one. Instead you have a "type" label.

1701806732362.png

You need to change one or the other to match if you want diverging paths.

3. In your subflow, you're trying to move a Process Flow token into a 3D model object.

1701806776982.png

This will break stuff. Don't try to move Process Flow tokens into 3D objects and vice versa. Instead, you'd need a reference to the person (that you create earlier after redoing your Process Flow) so you can move them.


1701806465172.png (7.7 KiB)
1701806718002.png (10.0 KiB)
1701806732362.png (23.9 KiB)
1701806776982.png (16.4 KiB)
· 2
5 |100000

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