@Vasas, Monika Hello and welcome to Microsoft Q&A.
I understand you are adjusting your process to move from using pipeline parameter of array type, to using a table or stored proc in dedicated sql pool.
Do not fret. The solution is not so bad. The output of a Lookup Activity results in an array of objects.
Your Lookup Activity should either point to that dedicated sql table, or use the stored proc option. Make sure the "First row only" option is turned off, otherwise things turn out different.
Do be aware there is a limit to the size of the return. 5000 rows or 4MB.
The output may look slightly different from your previous format, it will be like
@{activity('lookupActivity').output.value => the array below
[ {"source_table":"Address", "destination_filename":"Address.parquet", "source_system":"SQL", "load_type":"full"} ]
[https://learn.microsoft.com/en-us/azure/data-factory/control-flow-lookup-activity#use-the-lookup-activity-result
If this solves your issue, please mark as accepted answer. Let me know if you have more questions on how to use this.