Append line

I am getting the below error in Append line

Capture

What string you wanna append to a specific file is blank or empty so first make sure your are getting something in a variable which you wanna append.

1 Like

string variable
I am getting the value in it.

Hi there @sowmya
Before you attempt to append the text, please use an if statement with the following condition:

If IsNullOrEmpty([yourstring]) = True Then

  • Throw Exception(new Exception(“String Is Null Or Empty”))

End If

Thanks,
Josh

1 Like

Assign a value to your variable. Then use Appendline