VMware Aria Automation Orchestrator

 View Only
  • 1.  Input type to capture array with multiple properties

    Posted Nov 07, 2025 03:24 PM

    I'm building out a WF in orchestrator and I want to take an array of input from the user and each element should have (servername, IP, port).  I'm struggling with what type of input this should be.  I tried an array of properties and although that can work, there's no way to set the keys.  Trying to limit the input to just name, IP, port and not allow the user to put in other info.  Seems like a type of properties expects whoever is doing the input to define the keys though.  Am I missing something or is there a better object type for this kind of thing?  THanks,

    Mike



    -------------------------------------------


  • 2.  RE: Input type to capture array with multiple properties

    Posted Nov 08, 2025 06:54 AM

    Hi Mike,

    DataGrid should do the job (if I got you properly 😉).
    Please, take a look on the screenshots. Thats what you want to achieve?



    ------------------------------
    If you find the answer helpful, please click on the RECOMMEND button.

    Please visit my blog to get more information: https://clouddepth.com
    ------------------------------



  • 3.  RE: Input type to capture array with multiple properties

    Posted Nov 10, 2025 09:38 AM

    That's exactly what I'm trying to get to.  I tried to duplicate your example and ran into some issues.  So your var_0 is type properties correct?  In the input form I'm assuming you're just adding columns to set those three inputs column values?  When I do the same the user input look totally fine but it seems like the variable type doesn't like that.  Thee data saved in the variable is off (see screenshot below).  Like it only saves the first two pieces of info and the 3rd gets discarded.

    -------------------------------------------



  • 4.  RE: Input type to capture array with multiple properties

    Posted Nov 10, 2025 10:08 AM

    Yes, `var_0` is an array of properties. I added more details. Working for me. Let me know if you need something else.



    ------------------------------
    If you find the answer helpful, please click on the RECOMMEND button.

    Please visit my blog to get more information: https://clouddepth.com
    ------------------------------



  • 5.  RE: Input type to capture array with multiple properties

    Posted Nov 10, 2025 10:17 AM

    Thanks, making the properties an array is what I was missing.  One other quick note and I I see it in your example too.  Any idea why the first field is treated as an array?  So in our example it looks like you could put multiple names in for each iteration.  A single IP and port, but if you wanted to it looks like it would accept multiple names for some reason?  Any idea why that is?

    -------------------------------------------



  • 6.  RE: Input type to capture array with multiple properties
    Best Answer

    Posted Nov 10, 2025 11:48 AM

    It is because it is an array of Properties.

    Technically speaking, there is a better/proper way to do so. You have to use an array of Composite type, which will be represented as a DataGrid in the custom form.

    You create a new Composite Type

    Add your variables (I guess the port should be a number in your case :) )

    Select an Array checkbox 

    This is how the input will looks like

    That is a custom form will be automatically and properly generated.

    Run the workflow



    ------------------------------
    If you find the answer helpful, please click on the RECOMMEND button.

    Please visit my blog to get more information: https://clouddepth.com
    ------------------------------



  • 7.  RE: Input type to capture array with multiple properties

    Posted Nov 10, 2025 11:59 AM

    Appreciate all the great info!

    -------------------------------------------



  • 8.  RE: Input type to capture array with multiple properties

    Posted Nov 10, 2025 12:01 PM

    you're very welcome  :)



    ------------------------------
    If you find the answer helpful, please click on the RECOMMEND button.

    Please visit my blog to get more information: https://clouddepth.com
    ------------------------------