How to append data in string variable + uipath

Need to add hardcore exception in existing variable where that variable already contain some exceptions

1 Like

What datatype is the variable you’re referring to?


You can use String.Join method to add two strings.


Please use any methods below to concat the strings

  1. String1+" "+String2
  2. String.join(" ",Listofstrings)
1 Like

Hi @omkard222

I hope this article might be helpful to you.Please check :smiley: Thanks.

cheers :smiley:

Happy learning :smiley:

1 Like

@omkard222, I would suggest to use variable with the type of List. If you do so you can add N number of exceptions. Also, retrieval of the error will be easy (without doing any string manipulation. :wink:


you can use Assign activity and try like below
if strErrorMsg is having some exception like “ABC System exception…”
you can hardcode your value as below
strErrorMsg = "Exception Occurred in ABC Workflow, Exception is " + strErrorMsg

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