I am uploading some documents to a site and sometimes when it uploads it gets the error message that it has not been uploaded. When this happens I want the bot to send an email to the point of contact for this and then if not it will send a success email. I was using the contains function but I am not sure how to point to this on a website. I do not think my if statement knows where I am going to pull this text from. Should I use an ‘in’ argument.
If you need more information this please let me know.
@amb13
You could use a pick and pick branch activity(ies), in one branch use the find element activity and point it to the “upload success” message on the website and action would be success email. In the other branch, again use find element activity and indicate the “error message” on the website, in tandem with email to inform the failed upload.
I do not think that I can do it that way. When I upload it gets the message “Upload has failed”. With this I wanted to use the function contains(“upload has failed”), but I am not sure how to use a variable or argument to point to this.