Skip to main content
Question

Custom Package Development: How to Set Input as a LIST type

  • October 31, 2022
  • 1 reply
  • 56 views

LoganPrice
Most Valuable Pathfinder
Forum|alt.badge.img+14

I have a custom package I am developing that will require list variables as input.

 

How do I do this?

 

image

1 reply

Paul Hawkins
Forum|alt.badge.img+7
  • Navigator | Tier 3
  • November 2, 2022

@Logan Price​ If you check inside the SDK they'll be some samples you can take a look at (\src\main\java\com\automationanywhere\botcommand\samples\commands\basic\types\ListTypeDemo.java). Handy resource as they have examples for the other types as well

 

See screen below, if your not missing any import statements, it looks in your example you need to potentially:

 

  • switch to List<Value> instead of List<String>
  • Fully qualify the type e.g. type = AttributeType.LIST

 

ListTypeInput