a global variable of type “object” used and working perfectly on many pages.
several collections, binded to an Baserow-table
Now, I have a new workflow and at the end, I filter one of those collections by key (like id=123) so the result is an array of only one object with all the fields of id=123. But it’s still an array (result shows square bracket at beginning) > Formula “FilterByKey” doesn’t work as it returns an array of one object ( Array Formulas | Documentation)
How can I store this one object in my global “object-variable”? A simple “change variable value” with that filtered collection doesn’t work because different types (array vs object).
And no, I will not change the type of my global variable to type=array because this breaks the rest of my project. I has to be of type=object
The formula in my workflow to change the variable value works correctly, so I get the correct data, but the result is still an array, so the information is not stored in the variable “gekozen_repetitiedatum” that is of type “object”.
BUT…
I now found the Action.Result[0] in the fourth tab (workflow) and added a second action to change the value of my object-variable.