I’ll try and explain this one clearly…
I have a data model where there is a Survey Thing, and the Survey has a field which is a list of Question Things, where each Question has various fields.
I have a serverside workflow triggered by a change in the Survey’s Phase field - if Phase was A and is now B, fire a custom event passing in Survey Now (ie. the object after the change to phase B).
The custom event then does a series of actions with this Survey, including one where I have a custom server-side Action plugin which builds some JSON to send to a third party service - it’s a bit beyond what Bubble could build natively, but easy to do with Javascript. All of the Survey’s non-list fields are populated and can be used as you’d expect. The Question list is populated with objects, it lists all the correct field keys, but every field is null except the unique ID field (which is correct). That means I can’t build the JSON.
I’ve tried changing the Survey passed in to the custom event to be the first item returned by a Search for a Survey where unique ID = Survey Now’s unique ID - ie. trying to force a proper reload of the object from the DB - but this has no effect, and it also fails if I try it within the custom event workflow. I’m not really sure what else I can do… is this a known problem? Is there an obvious workaround?