How to put variable value in the Throw activity

Hi friends,

Any ways to put the variable value in the Throw activity? to show " Excel CS copied file failed sxxxx" Thank you.


1 Like

Hi @jojo123,

What’s the error you getting ??


It should be ok, if your variable is a string. For non-string you may use YourVariable.ToString

Hi @jojo123,
check out the screenshots below. Follow the same steps and you should be good.

Hi ,

There is no error msgimage . But the email I received “Excel CS copied file failed”

1 Like

Hi @jojo123

New Exception(“Excel CS copied file failed”+sr.ToString)

Try the above syntax

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.