Dynamically using built-in enum Language on object creation

I’m trying to set up an action to create new objects in my ‘Translation’ data source so that for each available language (defined by the built-in enum ‘Language’) I get a new object for ‘Survey’ and ‘Category’.

Screenshot 2023-04-04 at 16.24.31

I’m trying to do this dynamically so that for each new language added in the future, I don’t need to add a new loop and set the defined language for the different data sources. My current setup can be seen below.

Screenshot 2023-04-04 at 16.27.53

However, I’m getting an error when trying to persist the new objects.

Any suggestion for how to set the language property of new objects dynamically?


We believe this is a bug introduced for new languages added to the solution after the last release. We’ll let you know pretty soon when we’ve analyzed it a bit further!

1 Like