In computer science concepts, Array is a data type that represents a collection of elements. In Automation Anywhere v11, Array was one of the supported data types.
Post Contents
Array in Automation Anywhere A360
There is no Array data type of variable in Automation Anywhere A360 platform. Instead, we can use the Datatable variable to mimic the functionality of an Array type variable.
So, Array in Automation Anywhere A360 is not available as of writing this blog post.
Alternative to Array in Automation Anywhere A360
Suppose, there is such a situation in your project and you want to go with Array data type. You can use the Data Table type variable.
While migrating your code from v11 to the A360 platform, you might need to check and tweak the array-related logic.
Let us help you understand this with the help of an example snippet.
Automation Anywhere v11 Code Snippet – Array
Below is the snippet that uses an array type variable in Automation Anywhere v11.
Automation Anywhere A360 Code Snippet – DataTable
The same v11 code when converted or migrated to Automation 360 looks like below:
Further Reading
If you want to check how to use other properties available in the DataTable package, please refer to the official documentation:
Hope this post is helpful for you. If you find this useful, please share it with your colleagues and friends.
Happy Automation!