Need to add hardcore exception in existing variable where that variable already contain some exceptions
What datatype is the variable you’re referring to?
Please use any methods below to concat the strings
- String1+" "+String2
- String.join(" ",Listofstrings)
1 Like
Hi @omkard222
I hope this article might be helpful to you.Please check Thanks.
cheers
Happy learning
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.
2 Likes
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.