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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @kuo, was Kavika F's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

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.

kuo avatar image kuo commented ·

Hi i've revised my model and it can create object indeed. But i'd like to know how to create and refer an object flow to my process flow, as the process i mentioned in my question. Could you please give me an example of object flow? That would help me a lot!


北榮(ver 1).fsm

0 Likes 0 ·
北榮ver-1.fsm (44.5 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦♦ kuo commented ·

It sounds like you should do the Healthcare Tutorials.

An object flow can represent activities for any object - fixed, tasks executers or being moved through the model like flow items. There is no one example but for each, it's invocation/instantiation will create a token (or multiples) according to a the type of source you add to the object flow.

1 Like 1 ·