question

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

What is causing the error message in Acquire activity?

Master Clinic Model TH .fsm

I am building the attached model based on another running model. but I've run into the error "time: 3.671847 exception: Error: Invalid list reference at push to list activity "Patient Process/Acquire Exam Table?" in process flow 'PatientSubFlows,.'" This occurs in the "Acquire Exam Table?" Activity with the red background. I have the feeling that it is something simple but I am unable to see what.

Thanks for help


FlexSim 20.1.0
flexsim 20.1.0acquire location
· 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.

tannerp avatar image tannerp commented ·

Hi @Tee Hiett, was my answer helpful? If so, please click the red "Accept" button on the answer. Otherwise, feel free to comment back with an update on this question. Thanks!

0 Likes 0 ·

1 Answer

·
tannerp avatar image
0 Likes"
tannerp answered

@Tee Hiett,

What you've got is close, but you need to reference the Exam Table resource in your Acquire Exam Table? activity.

Additionally, the Run Start Create Companions sub flow is working fine, but you haven't accounted for the case that the patient label "NumCompanions" is 0. In that case, the patient doesn't receive a "Companions" label because 0 tokens are run in the Create Companions sub flow. Does that make sense? So it might be worth adding a default option that, if NumCompanions = 0, sets the "Companions" label to 1.

By doing this, the model seems to work just fine. I updated it just to give an idea of what you could do.

master-clinic-model-th_1.fsm


5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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