Question

What are the arguments for .LegacyAutomation:getCellByIndexOrName?

  • 4 August 2022
  • 4 replies
  • 12 views

Badge +6

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 4
Badge +8

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>

Badge +6

Hi Sahana,

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

Thanks,

Logan

Badge +4

@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")$

Badge +6

Thank you!!

Reply