Skip to main content
LoganPrice
Most Valuable Pathfinder
Most Valuable Pathfinder
August 4, 2022
Question

What are the arguments for .LegacyAutomation:getCellByIndexOrName?

  • August 4, 2022
  • 4 replies
  • 355 views

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

    Automation Anywhere Team
    August 5, 2022
    LoganPrice
    Most Valuable Pathfinder
    Most Valuable Pathfinder
    August 5, 2022

    Hi Sahana,

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

    Thanks,

    Logan

    Automate Everything
    Navigator | Tier 3
    August 5, 2022

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

    LoganPrice
    Most Valuable Pathfinder
    Most Valuable Pathfinder
    August 5, 2022

    Thank you!!

    Automate Everything