Hello Claus,
Hope you're doing well.
Most likely, your output of the Server Action should be a List variable.

Since your query just retrieves the Id and the Name attributes from your AvailableSkills entity, you should probably consider to create a Structure with those 2 attributes. And then you can use a List of that structure as an output parameter in your Server Action.


In your loop, you'll need to use a ListAppend system action:

Where you should append the elements of your SQL query to that List variable.
You may also consider to use ListAppendAll action instead, just to avoid the loop :)
Hope that this helps you!
Kind regards,
Rui Barradas