Long story short, I have a data dump that is too large for an azure function. So we are using Data Factory.
I have tasked another function to generate an access token for an API and output it as part of a json. I would like to set that token to a variable within the pipeline. So far I have this:
I'm attempting to use the Dynamic Content "language" to set the variable:
@activity('Get_Token').output
I'd like something like pythons:
token = data.get('data', {}).get('access_token', '')
As a secondary question, my next step is to use this token to call an API while iterating over another output, so perhaps this exact step can be added into the ForEach?
@activity('Get_Token').output
is correct. I don't get your point abouttoken = data.get('data', {}).get('access_token', '')
. Would you please give more details or statemetns? – Jay Gong