question

Tee Hiett avatar image
0 Likes"
Tee Hiett asked Tee Hiett commented

How do I resolve the Wait for Event error?

cardiology-11-19-2019-v20-autosave.fsm

I have revised my approach to modeling the flow in the Kirklin Clinics to follow your Restaurant model. In doing so, I have identified the major steps in the clinics and relegated the activities required for those steps to Sub Flows. I'm making progress but I have a problem in trying to get the Wait for Event to be executed when the MD Notes event is complete. I would appreciate your help with this problem.

Also, if I could get you to upgrade the scripts for the acquire and transport of the EKGs, I would appreciate it. I don't see any way I could do that.

For your information, I am still unable to submit questions using the Microsoft Edge browser. I am sending this through Firefox.

BTW, I am running these models currently using the version 2020 but I can only select the version 19.2.4.

Thanks,

Tee


FlexSim 19.2.4
wait for event
· 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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Tee Hiett,

I just added the 20.0 beta as a selection in the dropdown for when you're creating a question here at Answers. We haven't previously included betas, but it seems like a reasonable thing to do. Thanks for bringing it up.

In regards to Edge, I just created a test question in Edge and it worked fine for me. I am also adding this comment using Edge. Can you provide any additional information, error messages, etc., that might help me in finding and duplicating the issue you're having with Edge? You could try submitting a question with the developer tools open (F12 will open those, or right click anywhere on the page and choose "Inspect element"). Open the dev tools' Console tab to view any errors that you might encounter when submitting. Send those my way and I can try to duplicate and fix the problem.

Thanks!

0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ Tee Hiett commented ·

Yes, thanks @Tee Hiett,

This is just a cookie sync issue. Try logging out of your FlexSim account at https://account.flexsim.com, then visit Answers again and hit the Sign In link. It will prompt you to sign in again.

Let me know if that works.

0 Likes 0 ·
Tee Hiett avatar image Tee Hiett Ben Wilson ♦♦ commented ·

Ben,

Works perfectly. Thanks so much for the help. I was getting tired of creating messages in Edge and and then having to start over and in another browser :-)

I also want to compliment you and your team on the development of the new website. It is looking much better and much more easy to navigate.

Keep up the good work

0 Likes 0 ·

1 Answer

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered Matthew Gillespie commented

The Wait for Event activity is listening to the OnEntry of the MD Notes subflow. You would probably want to listen to the OnExit since you want to know when the subflow is finished not when it starts. However, if the MD Notes subflow finishes before the token gets to the Wait for Event activity then the token will wait for ever. So in a case like this I would just use a Join activity to synchronize the two tokens since the Join will work no matter which token gets there first.

splitandjoin.fsm

Subflows are a nice tool for organizing a model, but don't feel like you have to build models this way. Subflows are most useful when you have a certain process that happens multiple times or at varying times throughout a patient's flow.


splitandjoin.fsm (714.9 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.

Tee Hiett avatar image Tee Hiett commented ·

cardiology-11-19-2019-v20-1.fsm

@Matthew Gillespie

Thanks for your help with the MD notes. I have upgraded to the latest version of FlexSim 2020 Beta which was mounted today and, as you will see, I'm still having trouble with moving the EKGs.

I realize the initial intent of subflows. In fact, I use that feature in this model. I'm looking at it here as the way to get easing our new users at Kirklin into this version of Flexsim. Another way to look at it is that these subflows are going to be used over and over and over with little or no modification (I think.). We'll see.

Thanks for your help.

Tee

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Tee Hiett commented ·

In the Get EKG activity you had "current.locations[1]" in the destination field instead of current.Locations[1]

23642-cardiology-11-19-2019-v20-1-1.fsm

0 Likes 0 ·