Forum Discussion

Neka's avatar
Neka
Icon for Helper III rankHelper III
2 years ago
Solved

How include a value from the SetVariable activity that goes into the ForEach as part of the output?

Hello, I have a SetVariable activity that has a JSON file going into my ForEach activity. Within the ForEach is a WebActivity1 that is using Workspace Id value from the SetVariable JSON file to call...
  • Neka's avatar
    Neka
    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.