Question

What are the arguments for .LegacyAutomation:getCellByIndexOrName?

  • 4 August 2022
  • 4 replies
  • 138 views

Userlevel 3
Badge +9

Can anyone tell me what the arguments for .LegacyAutomation:getCellByIndexOrName are? I keep getting an error that I am missing an argument, but I don't even know what arguments the command needs. [0] does not work.

 

I noticed that this command does not even appear in their Legacy Automation package web page.


4 replies

Userlevel 6
Badge +9

Hi @Logan Price​ ,

Thank you for writing to us,

Please check below documentation link and hope that helps:

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/aae-client/bot-creator/commands/cloud-legacy-automation-package.html/p>

Userlevel 3
Badge +9

Hi Sahana,

As I stated in my post, ".LegacyAutomation:getCellByIndexOrName" does not appear in the legacy automation package documentation that you provided.

Thanks,

Logan

Userlevel 3
Badge +6

@Logan Price​ 

You can use like this, (index starts from 1):

$my_record.LegacyAutomation:getCellByIndexOrName(1)$

or

$my_record.LegacyAutomation:getCellByIndexOrName(age)$

or

$my_record.LegacyAutomation:getCellByIndexOrName("Header with space")$

Userlevel 3
Badge +9

Thank you!!

Reply