![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
As in the last post we made, we did finally manage to get one If command to work. However if we try to produce another it will give us the error whenever we try to save it. Code: Invalid Syntax. Please insert an "If" command. Code: If $OrderStatus$ Equal to "Completed" Then
Exit Loop
Else If $OrderStatus$ Equal to "Past Due" Then
Else If $OrderStatus$ Equal to "Active" Then
End If Code: If Window Does Not Exist("Single Photo Upload - Internet Explorer provided by Dell") Then (Wait up to 5 seconds - for Window not to exist)
Mouse Click: Left Button on 'FolderView' in "All"
Mouse Click: Left Button on "FolderView' in "All"
Keystrokes: [RIGHT CLICK]m[END] Fail in "All"
Run Task "C:\Users\User\Documents\Automation Anywhere\Automation Anywhere\My Tasks\Photo.atmn" @Repeat : Do Not Repeat @ Speed : High Speed
Stop The Current Task
End If If Command that works: Code: If $FullName$ Equal to $FullName2$ Then
Variable Operation : $count$ + 1 to $count$
Else If $FullName$ Not Equal to $FullName2$ Then
Variable Operation : 1 to $count$
End If 11111 1 11111 2 11112 1 11112 2 Would give us a count of 2 each time it uploaded the photos for 11111 and 11112 and then it would know to add two photos each time it went to that specific order #'s form. --Due to customer privacy clause we can not attach the atmn file here. But we can show example codes that do not include specific site URL that are accessed. Including passwords used. Thank you for understanding. |
| |||
|
Hello, Can you please check the version of Automation Anywhere installed on your machine? You can check the version from Help-> About Automation Anywhere. This issue has been fixed in version 5.0.1. We suggest you to download the latest version of Automation Anywhere i.e. 5.0.2 from our website, Automation Anywhere - The Leading Automation Software Hope that helps |
![]() |
| Thread Tools | |
| Display Modes | |
| |