Question

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

  • 31 October 2022
  • 1 reply
  • 4 views

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

 

How do I do this?

 

image


1 reply

Userlevel 2
Badge +6

@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 

 

 

 

 

 

Reply