Hi,
I am using get text activity and want to check for a particular text is exist or not. If exists then the bot should go for the next activities, if not then it should stop the bot.
How can we do it?
Regards
Hi,
I am using get text activity and want to check for a particular text is exist or not. If exists then the bot should go for the next activities, if not then it should stop the bot.
How can we do it?
Regards
You can check the text file using if activity from the below expression
File.Exists(Your filepath)
In the then block you can continue your workflow , In the else block you simply use throw activity that will throw an customized error Ex: BusinessRuleException(“Input text file is not found”)
hope its solves your issue and please update us if got your desired solution
Regards,
Robinnavinraj S
Try this-
textVariable.Contains("desiredText")
to check if the desired text exists within the retrieved text.