2 Replies Latest reply on Jun 29, 2018 8:40 AM by styler

    Passing an array as a script argument

    styler

      Due to our product teams shuffling around the locations of where their various services run, I need to take an array of potential service names and pass them as an individual argument. Unfortunately I cannot make this work inside of Orion, and the script editor/text box isn't robust enough for me to find what's happening or why it isn't working. The only information I can get is it results in 0 services being found each time. I've searched and can't find how to correctly format the script argument field to take an array. What should the syntax be on the array?

       

      Things that have not worked so far:

      "Service1","Service2","Service3"

      @(service1,service2,service3)

      @("Service1","Service2","Service3")

      @("service1", "service2", "service3")

      forcibly casting my $services variable as an array