question

Tiffany Pecson avatar image
0 Likes"
Tiffany Pecson asked Tiffany Pecson commented

Flexscript Error - deleted area and changed the activity, still get error

I get this error when I reset my model:

Flexscript ErrorMODEL:/Tools/PatientBin/LeanTrack/LeanTrack>variables/ActivityTable/ 1120_Treatment Awaiting XRay/PatientDestination line 8 unknown variable "ObservationRoomArea"

I had deleted the ObservationRoomArea and replaced it with TreatmentArea, I changed all the activities so that nothing references ObservationRoomArea. How can I check this script to dig into the cdoe detail? Not sure how to find line 8 in the code.

I've attached the picture for Activity Properties for Activity 1120 that it references.

FlexSim HC 5.1.0
flexscript errorvariablesactivitytable
fs-error.jpg (50.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 Tiffany Pecson commented

Change the activity to a Travel type activity so that the Patient Destination field shows up, clear that field, and then you can switch it back to a Process type activity.

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

Tiffany Pecson avatar image Tiffany Pecson commented ·

Genius.

0 Likes 0 ·