Forum Discussion
How include a value from the SetVariable activity that goes into the ForEach as part of the output?
- 2 years ago
Hello,
Thank you for your help but I ended up using a different strategy. However, I also discovered that using this expression in the body of the web activity brought in the Workspace Id that was entering the ForEach:
@concat('{"workspaceId":"', item().id, '", "unusedArtifacts":', activity('UnusedArtifactsWebActivity_copy1').output, '}').
I will leave it here, if anyone needs it.
Hello again Anonymous ,
Do you mean to replace the WebActivity1 with the copy activity? How do you use a CopyActivity to access the RESTAPI?
Thank you.
- Anonymous2 years agoNot applicable
Hi Neka ,
You can check for Rest in Copy Activity -
Or else if you can see the existing connection that created in Web Activity, try using it in Copy Activity.- Anonymous2 years agoNot applicable
Hello Neka ,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .
Otherwise, will respond back with the more details and we will try to help .- Neka2 years ago
Helper III
Hello,
Thank you for your help but I ended up using a different strategy. However, I also discovered that using this expression in the body of the web activity brought in the Workspace Id that was entering the ForEach:
@concat('{"workspaceId":"', item().id, '", "unusedArtifacts":', activity('UnusedArtifactsWebActivity_copy1').output, '}').
I will leave it here, if anyone needs it.