Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-02-2009, 08:57 AM
smsysengineering smsysengineering is offline
Junior Member
 
Join Date: Jun 2009
Posts: 11
Default Comparing Variables

I'm trying to verify that a system code is changed before proceeding with the rest of the task process. Is there a way to match the old code with the new one and write an "IF equal to" command?

~ S
Reply With Quote
  #2 (permalink)  
Old 11-02-2009, 11:03 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Yes, you can use 'If Variable' command to compare the values or the code.

"If Variable" command is the most powerful of all conditional commands. Actually, it is many commands in one. With this command, you can perform hundreds of checks. For example if you have copied anything from an application or website and you want to check if what you copied matches certain text, or if it is a number, is it greater than or less than some other variable or fixed number. You can do that all with this command.

You can take action based on the result returned by 'If' command i.e. if you want to stop the task or want to perform some action accordingly.

You can find 'If-Else-EndIf' command under 'Conditions/Loops' command category. You can find 'Stop Task' command under Tasks/Scripts command category.

Text format of command would appear something like this

If Condition
// Required Actions
Else
Stop Task
End IF

Hope that helps. If you could tell us more about your case, we would be able to help you more with specific task.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 04:44 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved