(Query all records + variable ) combined result

I have a query all records function that returns a list. For each loop a variable is gets created that calculates a few things. Let´s say the list is called "orders".

My question is how do I combine everything to one result ? I know how to return the variable and the list separately but I would like to return the variable for each order. Right now I´m returning the variable + an array of objects (orders)

Update: Array: Add To Beginning seems to work but is returning the value of the variable with the name "0" - is there a way to change the name to a name of my choice?

2 replies