T18 - Check if backup process is over | Task Description | Check if backup process has finished System Backup.
T18.atmn
Note: Save the .atmn file in My Documents -> Automation Anywhere -> Automation Anywhere -> My Tasks
| | Solutions |  | Check if backup process is going on - Click New->Task Editor.
- Select the Loop command from the Conditions / Loops category.
- Select "Start Loop".
- Select the 'Condition' option
- From the list of conditions, select the 'Window Exists' option and specify the Window title of your backup application.
- You can put a delay of 10 seconds within the loop so that way it will check for condition after every 10 seconds.
Loop While Window Exists("Backup Progress") Comment: Backup is in progress... Comment: Wait for 10 seconds. Delay: (10000 ms) End Loop
|  Screenshot 1
|
| When you run this task, it checks whether <window title> exists or not. It keeps on executing loop command it it finds <window title>. If it does not find the window title, it stops executing the commands within loop & executes commands after End loop. This tutorial demonstrates use of 'Loop' & 'If conditions' together which makes it so powerful to solve complex problems. With loop you can use any other condition like 'File exists', 'File does not exist', 'Folder exists', 'Folder does not exist', 'Application running', 'Application not running', 'Ping successful', 'Ping unsuccessful'. You can also use variable in creating conditional Loop structure. |
|  |
| We started using this product to copy data from legacy system to new system. Now we use it just to do about anything automated. Countless hours saved. Thank you guys. | - Jack Greenberg
| | Read Customer Testimonies >> |
|