I want to loop through an array of teams:
['Sales',
'Management']
For each item in the array, I want to create a new team in my Team table. However I can't seem to get to the team name when creating the teams.
When I refer only to the item in the array, I get an error 'Text filter requires a scalar value'.
I've already tried a different way by adding a filter 'first'. Then I don't get the error and the two teams are created however the name of the team is empty because there is no text coming from the arry item…
How can I get to the text value of each item in this simple array?
Thank you for your valuable insights!