question

Mauricio Mb avatar image
0 Likes"
Mauricio Mb asked Clair A edited

Error while running program using an Excel spreadsheet

Hi everyone!

I am getting a constant error while running a program. It is a model simulation of a health system, however I am not able to run it appropiately.

The message says:

time: 10.000000 exception: Exception caught in start() of activity Create and Set-up Patients/Create Patient in process flow "Arrivals". Continuing throw...

time: 10.000000 exception: Exception caught in Executive::processeventinlist().

If anyone has been through this or has the solution, please help me :)



FlexSim 22.2.2
exception errorpatient arrivalscreate and setup
· 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.

Clair A avatar image Clair A commented ·

Hi Mauricio,

Could you please post your model ?

If you don't want to share it publicly, you can send your model to our French tech support email address: [email protected].
0 Likes 0 ·
Mauricio Mb avatar image Mauricio Mb commented ·

Hi Clair, sorry for the delay

I will send the model directly to the given email adress

Thank you for the response!

0 Likes 0 ·

1 Answer

·
Clair A avatar image
1 Like"
Clair A answered Clair A edited

Hi, Mauricio sent us his model and we solved his exception. I share with the community a sample model 2022-10-31 Create patient exception copy labels.fsm to show what triggered his exception.

In this model, I have added a number label Cost in the person labels:

1667211279024.png

In the Arrivals Process Flow, I create a label on the token with a text value "$1500":

1667211066135.png

By default, Copy Token Labels is checked in the Create Patient activity:

1667211189799.png

When you run the model, a patient is created with a Cost number label and the Copy Token Labels feature tries to copy the token's Cost string label to the patient's Cost number label. This triggers the exception below:

time: 0.000000 exception: Exception caught in start() of activity "Create Patient" in process flow "Arrivals". Continuing throw...
time: 0.000000 exception: Exception caught in start() of activity "Source" in process flow "Arrivals". Continuing throw...
time: 0.000000 exception: Exception caught in Executive::processeventinlist().

When you copy labels from a token to a patient, you need to be carefull that if a label already exists on the patient with the same name, it also stores the same data type.


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.