In the above workflow, I have created an expression emailAddress = "" and in the JS code sets the value for emailAddress.
Used newly created field in update data activity as below:
But email field from recipient is not getting updated.
Please let me know what should I do here.
Solved! Go to Solution.
For vars.varname in js, source field is $(vars/@varname).
You can also cast as needed, $string(vars/@varname) and so on.
If you want rows to have different emails, alter the target table in the js and use that.