![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Hello, I'm trying to use the Find Broken links to check our websites regularly. However it doesn't seem to contain a built in feature to send an e-mail on Failure. So even if the site contains broken links it still shows the task as completed and successful. I need a way to have that task send an e-mail when the check encounters broken links. Any help would be appreciated. Thank you |
| |||
| Hello, Using Find Broken Links command option, you can test whether all the links in a particular website or a web page are working or not. Results are stored in CSV. Once the task is complete, open the CSV file to identify broken links. Automation Anywhere 5.0 provides, 'Read from CSV File' command to read a comma or tab delimited CSV file. You can find this option under 'Database' command under 'Applications' command category. To access the values returned by the command, use the $Dataset Column$ System variable provided by Automation Anywhere. Use Loop for Each row in a SQL query dataset option to loop through all the rows of the result. To access each column use $Dataset Column(index)$ for e.g. to get the first column use $Dataset Column(1)$. Inside this loop, check if $Dataset Column(2)$ includes 'Unsuccessful' then send an email using 'Send Email' command, which is under 'Internet' command category. You can download free version of Automation Anywhere 5.0 from our website: http://www.tethyssolutions.com/automation-software.htm For your reference, we have created a sample task for you. After installing AA 5.0, please copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder. Hope that helps. |