How to search by month in the expression?


do u mean i need to tick the table row here ?

yup, tick it and change the tableRow to {{result for get attribute}} tableColumn also need to tick

Nope…it still dont work…

… “result for the get attribute” is your output for the get attribute
I just give a example as I don’t know your value name
image

So i set the variable as output… :rofl: doesnt work still


no need the id for r-359

2 Likes

Thanks alot! Finally manage to click download! :grinning:

But i got another problem, sometimes when there is nothing to click, the bot will throw out the error. How to solve this? I need the bot to skip when there is nth to click…
Example this. I will see this message if there is no bill to download…
image

You can use Element Exists, it will output the boolean
then, put the output into if condition
If check this message just skip, if not click the download pdf

Btw, i just try the activity by input another month “Feb 2021” but the bot still click the 1st row which is “May 2021”. I tried to tick & change the variable to “Dates” but it doesnt work also…


Is it smth missing here?

if you want to do the Feb don’t use now.tostring
and change the Dates value to Feb only

Doesnt work…


Still clicking the 1st row …

only “Feb”

Thanks @Eric_Wong_Test :grinning:

I tried this, So is it correct if i put this way,
Element Exist → IF condition = TRUE Then repeat first activity.

NoBill is a boolean
In the if condition only NoBill is fine

Hmm, but i got this error…

Even i put the Element Exist, it still go and search the table for bill to download…

So, if check the message you need to skip the case and don’t click the download pdf?

Yup. If see the no bill message then skip no need click download BUT continue to search other account (My activity is Read Excel file → Search account → click download ->If no bill → search account again → click download)… Quite straight forward…

the message is before get attribute ?
If yes, you should put the get attribute and click download link into “else”