Solved

How to differentiate Variables and Arguments from Task bot flow

  • 27 June 2024
  • 3 replies
  • 51 views

Badge

Hello All , 

      I wan to find the which are arguments and which are Variables in Task bot flow. for now i need to check by clicking on each variable and check is it in / out. do we have any simple /shortcut to check what are only variables used inside flow and the arguments (variables) passing values outside the flow  . Please refer the below screenshot . Thanks
 

 

icon

Best answer by jon.stueveapeople 27 June 2024, 18:52

View original

3 replies

Userlevel 1
Badge +3

Hi @Srinath 1996,

 

As per my understanding there is no such way to differentiate between normal variables and variable arguments until we edit or highlight by moving cursor.

 

To differentiate we can go with variable names. few examples.,

sErrorMessage_Out

sLogFilePath_In

sEmpName_InOut

 

Thanks,

Hemantha Pindra

 

Userlevel 2
Badge +6

Currently, this feature is not available in Automation Anywhere. It is common practice for users to follow specific naming conventions to distinguish between different types of variables, such as input, output, input-output, and constants. Still you would need to check whether variable is of specific type to be sure.
 

You can utilize this extension, which does not require any special permissions, to add this feature. This helps eliminate any ambiguity regarding the specific type of the variable.
Bot Assistant

 

 

Userlevel 3
Badge +6

A good naming convention for bots with many variables of different input/output/private types is to prepend using this format

This will help the Variable pane group like variables together alphabetically.

(source: Automation Anywhere Bot Development Best Practices v.1.1.1 date 3/11/2021 from the Professional Services team)

Reply