Call Toll Free: 1-888-484-3535    

  Automation Anywhere - The Automation Software

Automate System Administration Tasks -> 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

 

Solution
1. 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.

Screenshot 1:

 

E-Mail: Enter your email address to receive information about new products & offers from Tethys Solutions.


 PRODUCTS

 Automation Anywhere
   Standard & Premier
   Enterprise
   Integration Pack
 Workspace Macro Pro
 Workspace Macro
 Launch-n-Go
 Free Downloads
 Compare Products
 

 SERVICES

 Ask The Expert
 Consulting Service
 

 PURCHASE

 BUY NOW
 Pricing
 Upgrades
 Our Guarantee

 CUSTOMERS

 Customer List
 Case Studies
 Testimonies

 SUPPORT

 FAQ & Examples
 Have a Question?
 Open A Support Case
 Forums
 

 QUICK LINKS

 Productivity Essentials
 Developers
 

 GENERAL

 Partners
 Affiliates
 Articles: Macro &
 Automation

 Get RSS Feeds

 Press & News
 Contact Us
Home |Site Map |Privacy Policy |About Us |Contact Us

Copyright © 2003-2008 Tethys Solutions, LLC. All rights reserved. Trademarks