Automation SoftwareAutomation Anywhere
 Home > Product > Solutions > IT Automation > T18 

T18 - Check if backup process is over

Task Description

Check if backup process has finished System Backup.

Test File T18.atmn

Note: Save the .atmn file in My Documents -> Automation Anywhere -> Automation Anywhere -> My Tasks

Solutions
1Check 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



Task Editor
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.
Buy Now Free Trial

Next Steps
Compare versions Compare versions
Watch a flash demo Watch a flash demo
Contact me Contact me
Ask the Expert Ask the Expert
Request live demo Request live demo

Call 1-888-484-3535

Our Customers
Automation Anywhere Customers
Customer list | Case Studies

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 >>
  Products     Download     Purchase     Services     Support     Customers     Company     Sitemap     Trademark FacebookTwitterAutomation Anywhere Blog © Automation Anywhere, Inc. 2012 Privacy Policy
Automation Anywhere Call: 1-888-484-3535 x1   

Automation Software - Free TrialAutomation Software - Buy Now