Text Exists when value is empty

Hello,

I have empty value and I want to return it as True using activity Text Exists.
Is it possible or not?

Case.
My notepad doesn’t have any value it is empty. But Text Exists returns it as False when I use string.Empty.

@jgh1buy

Please check below thread:

https://activities.uipath.com/docs/text-exists

I already checked it but i coudn’t get correct answer for my issue.

@jgh1buy

In the input field, we have to pass to searching String. Then this activity will search the required String in given UI Element. If it is found then it will return true else it will return false.

Could you please tell where you are searching for Required string ? Is it in Notepad or UIpath forum screen ?

Actually, my requirment is using Activity Retry Scope when condition is True by String.Empty of in Text Exists of certain UI Element.

Could you please help me once again?

Hello @jgh1buy
You can reverse the condition using in text exist activity like
Not string.empty

1 Like

Hi Sandeep13,

How can I use ‘Not String.empty’ in Text Exists?
2019-05-13_10h48_26

hello
sorry Not is used in output of Text Exist activity

so you can use empty variable in any condition stattement
hope it help
thanks

1 Like

Thanks. But as I check it can’t be used in condition of Retry Scope. Text Exists in Retry Scope is not able to return True when the target field is Empty.