question

Atipol Kanchanapiboon avatar image
0 Likes"
Atipol Kanchanapiboon asked Matthew Gillespie commented

Got an error 581"tried to start an invalid activity ranked 0"

corona-ed-v3.fsm

I got an error when I ran this model to 1:24AM. It said "WalkIn_Patient_ID2 located in MainBed1 tried to start an invalid activity ranked 0."

Can you please advise how should I fix this? Thanks.

FlexSim HC 5.1.0
error message
corona-ed-v3.fsm (858.6 KiB)
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

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

Activity 111 is a Process > Send Item activity that sends an item to LabQueuing with an activity ID of 0.

The item is then processed at LabItemProcessing2 and then goes to a sink object, LabItemExit1, which has an OnEntry trigger that starts an activity on the patient using the activityID assigned to the item by activity 111.

So if there's a specific activity that's supposed to be kicked off when this item finishes processing you need to change the assigned activityID to the correct activity. If you don't want an activity to start then delete the OnEntry trigger of the sink.

· 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.

Atipol Kanchanapiboon avatar image Atipol Kanchanapiboon commented ·

Thanks, @Matthew Gillespie . You got it. It should be activity 112.

0 Likes 0 ·