Need to add hardcore exception in existing variable where that variable already contain some exceptions
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
- String1+" "+String2
- String.join(" ",Listofstrings)
I hope this article might be helpful to you.Please check Thanks.
@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.
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.