question

Sara Bonansea avatar image
0 Likes"
Sara Bonansea asked Matthew Gillespie commented

Not updating value expression in additional columns MilestoneCollector

Hi everyone!

I was using FlexSim 22.0.4 in the healthcare environment. I made the following steps:

  1. I added a patient flow where patients are created and in addition to the PCI label defined in people settings, they have an additional "Type" label whose values can be "A" or "B";
  2. Patients walk to an exit door and then they are destroyed;
  3. I added a Milestone collector where each row corresponds to a different patient. I have two milestones that correspond to the events of "Create Patient" and "Remove Patient". In addition, I have two other columns that return the PCI and the Type for each patient.

Even if the MilestoneCollector's table is filled out correctly, the expression in the Value field for the additional columns is not updated.

is that a bug or an issue?

milestonecollector-pci-column.pngmilestonecollector-type-column.png

MilestoneCollector_PatientFlow.fsm

FlexSim 22.0.4
milestonecollector
· 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.

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

@Sara Bonansea This issue is fixed in 23.0.10 and 23.1.4 released today.

0 Likes 0 ·
Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered Matthew Gillespie commented

This is a bug on the UI. I have added it to the dev list. It's an issue with not properly updating the Value field when you switch columns, or perhaps not pointing at the correct field in the first place.

The only workaround at the moment is to edit the code for each column by hand, in the tree. For example, the code for the PCI column is found at

MODEL:/Tools/StatisticsCollectors/MilestoneCollector1>variables/columns/PCI/initialValueNode

The code for the Type column is in a similar place:

MODEL:/Tools/StatisticsCollectors/MilestoneCollector1>variables/columns/Type/initialValueNode

Any changes you make should be applied when you reset the model.

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

Sara Bonansea avatar image Sara Bonansea commented ·
Yes, thank you very much for your answer!
0 Likes 0 ·
Patrick Zweekhorst avatar image Patrick Zweekhorst commented ·
Hi @Jordan Johnson ,

Can you confirm that this bug is still on the to do list and has not been fixed in 23.0.7?

0 Likes 0 ·
Jordan Johnson avatar image Jordan Johnson ♦♦ Patrick Zweekhorst commented ·
Yes, this is still a bug in 23.0.7. I will increase its priority on the dev list.
1 Like 1 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Patrick Zweekhorst commented ·

@Patrick Zweekhorst This issue is fixed in 23.0.10 and 23.1.4 released today.

0 Likes 0 ·
Jeanette F avatar image
0 Likes"
Jeanette F answered Jeanette F commented

Hello @Sara Bonansea,

You need to add the label to the People Settings.

1653601265078.png


1653601265078.png (13.8 KiB)
· 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.

Sara Bonansea avatar image Sara Bonansea commented ·
Hi @Jeanette F, thank you for your answer! I did it, but it did not fix it. What is printed in the MilestoneCollector table it is correct, but not what I visualize in the Value field for the additional columns.
0 Likes 0 ·

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.