I am trying to assign an object to an object field using entity reference in v17.2. It seems like it should be as simple as:
// $entity.ObjectField still equals null
However, $entity.ObjectField is still null. I’ve tried many variations, like creating an object variable and assigning that, using OB SET, both empty and populated objects, even JSON Stringify($tempObj). There are no errors for any direct assignments. If I try assigning a value to a key in the object field, I get an error that an object was expected.
// error: object was expected