26689-variablecompanions-2.fsm
Matthew,
I have slightly modified the model you built for me in the posting here. I have a couple of questions related to creating a patient label as an array
- 1. When I create the label Companions with the Assign Companions & Procedure activity in the flowchart as you did for me, patient.Companions.append(patient) in the activity Patients and Companions Walk to WaitingRoom1 does not throw error messages. When I create the label Companions in the People Settings, the activity patient.Companions.append(patient) does throw error messages.
- 2.If the patient has 0 or 1 companions, the activity patient.Companions.append(patient) does not put the patient into the array. If the patient has more than one companion, the patient is added to the array. I was expecting the patient to be appended no matter the number of companions.
Thanks for your help.