title: ADF data flow, pass ForEach activity's @item() to sink's settings(?)
body: <p>In my data flows I have a lot of scenarios where I just upsert data from one database to another(names of tables are the same in both of them). I would like to avoid duplicated operations and just use ADF ForEach for that. </p>
  
  <p>So I have defined pipeline's variable with my table names. Then in ForEach activity, I am using @item() as a parameter for my data flow which is nested inside of it. However, my problem lies here:</p>
  
  <p><a href="https://i.stack.imgur.com/HtLyd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HtLyd.png" alt="enter image description here"></a></p>
  
  <p>My key column is always name of the table + "ID", so I have wanted to do something like concat(@item(), "ID") to make it work. However, this "add dynamic content" doesn't allow to do that. </p>
  
  <p>Is there some way to reference items from ForEach activity in this scenario?</p>
  
  <p>Thank you in advance!</p>