![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
I have four small tasks that should be run in series to complete the entire process of 1) downloading a .csv file from a website, 2) copying and pasting the .csv columns into a new excel file, 3) performing online searches on the excel data, extracting tables, and recording it to a new excel file, and 4) updating my POS system with the resulting data. If I run each of these manually, they each work fine. If I use a Super Task or add a Run Task line at the end of each task to trigger the next task, the subsequent task acts very strange. 1) If I run the first task manually and have it run the 2nd task when complete, the 2nd task copy (ie: get) excel functions fail every time. 2) If I run the 2nd task manually and have it run the 3rd task when complete, the 3rd task stops recognizing the login & password fields on the website. I've even tried combining all tasks into one large task but they still fail in the same way. Is there any reason why these tasks would stop functioning correctly just because they were run by another task? Thanks! Scott |
| |||
|
Hello, In a super task, include 'If Task Successful' command to run the second task only if first is executed successfully. You can insert Nested 'If Task Successful' command to run multiple tasks in series. Text format of command would appear something like this, If Task Successful ("My Documents\...\My Tasks\Task1.atmn") Then If Task Successful ("My Documents\...\My Tasks\Task2.atmn") Then If Task Successful ("My Documents\...\My Tasks\Task3.atmn") Then Run Task "My Documents\...\My Tasks\Task4.atmn" End If End If End If If it does not help then please upload all the tasks so we can look into it and suggest viable solution. Hope that helps. |
| |||
|
I tried your Super Task logic and had the same results. I've attached the 2nd task here. The issues here are the lines 11, 16, and 21, all with the same code: Keystrokes: [CTRL DOWN]c[CTRL UP] in "Microsoft Excel - amp" This does not copy the selected cells to the clipboard ONLY if the task was triggered to run by another task, whether it be the previous task or a super task. If I trigger it manually, it works every time. What would cause this? Scott |
| |||
|
Hello Scott, We suggest clearing the clipboard before the keystrokes command, Ctrl+c. In addition, we suggest inserting Delay of 200-300 ms after every Keystrokes command. We would also like to suggest you to break down your keystrokes given in one line at a stretch into several lines and try to insert 'Delay' command in between the lines for the error-less execution of the task. Breaking the keystrokes into several lines would give sufficient time to execute each action smoothly. We have amended the task for your convenience; please run at your end (from super task) and let us know how it goes. Hope that helps. |
| |||
|
I used the file you sent. (I did remove the Clear Clipboard command between the CTRL-C and CTRL-V.) It still does not want to perform the CTRL-C command. I put a delay up to 1000ms before the command without any change. I don't understand why CTRL-C does not work if the task is triggered to run by another task. Other thoughts? -Scott |
| |||
|
Hello, Can you please email us your phone number at http://www.tethyssolutions.com/support_form.htm so that one of our Technical Support staffs can call you to help you resolve the problem. Alternatively, you can reach us at 1-888-484-3535 x 3 |
![]() |
| Thread Tools | |
| Display Modes | |
| |