Condition if the text exists

I need to create a condition to check if the text exists in a website, if the text exists I need to copy it and save it in a variable if it does not exist I follow the flow, is it possible?
could anyone help me with an example?

Hi.

First, you want to use Get Text activity to extract the text from the website. This will store the text to your variable.
Then, with an If activity you can use some vb dot net to check if it contains text (you can search on how to make any condition in vb.net online as well.
—there could be some activities that do this too if you don’t mind the cluttering of your workflow.

Your condition will look like this: variable.ToString.ToUpper.Contains(text.ToUpper)

If that condition is false, then you will branch off to perform other actions.

Hope that helps a little.

Regards.

4 Likes