I'm fetching data from an API source, which with each pagination is giving back some meta data needed to control the data flow. Most importantly it gives me the next page URL (captured in the "pagination rules") and the [end_of_stream] value.
However I am failing to understand how I can capture this output value and encapsulate the Copy Activity in a, for example, While-loop (While [end_of_stream] = 0, continue fetching data).
Could someone please assist? Do I need to use the Web Activity instead, as this allows me to view the output of the activity and use those values in variables. The Copy Activity only seems to have the option of assigning values to columns in the sink. And the output of said activity is only showing meta-data not usable for me.
