how can I make a process continue if the last working date was loaded before today? if it is not loaded after 5 minutes to press the button and check again? if it is loaded to continue the process
Could you please explain the requirement a bit more…
the process is as follows:
the robot must open an application for reports only on working days. the reports are generated on the next business day for the previous one. i.e. on Monday for those for Friday, Tuesday for Monday, etc. in the application itself there is a button to see which date it was generated. the goal is for the robot to press this button and, if a date has been generated, to download the report. if not after 5 minutes press the button again and check. the question, however, is how to tell him “is this date that was generated the last working day?” if “yes” continue, if “no” wait 5 minutes and check again
You need to use Retry Scope activity here.
Activity to do the button click should be present inside the retry scope
Retry scope condition should be the date check expression
After Retry Scope the actual report download operation