Chris Coleman Looking for some help with an expression - here is what I am trying to do:
I have an array of objects ($var.activityContacts)- within each object there are two paths I need to work with "my_person_id" and "angle". Angle is set to null when this variable is initialized. Each object is unique to the value in "my_person_id" path (which is a table ref to my_person.id).
Within the function stack - I calculate the correct angle value for each contact - and I have a variable for the contacts table ref my_person.id - let's call it $var.myPerson
What I am trying to do with an expression right now is -based on having $var.myPerson value - and the newly calculated angle value - $var.angle ...
how can I write an expression that sets the value of $var.angle to the path "angle:" within the variable $var.activityContacts - for the specific object instance within the array where the value in the object's path "my_person_id:" = $var.myPerson ??