08-21-2017 07:59 AM
Has anyone used a list type in the Script-Variables header of a CCS or Perl script? The CCS Supplement document shows 'list' as one of the data types you can use with Script-Variables but doesn't give an example. Does anyone have a working example?
08-23-2017 08:22 AM
Andrew here is an example for using list
08-24-2017 10:16 AM
Not quite what I'm looking for.
The CCS Supplement document claims that a 'list' data type can be used in the Script-Variables header in the Script section. I would like to know if anyone has used a 'list' data type in Script-Variables and if they can share an example of what using a list in this context looks like.
08-25-2017 07:26 AM
I've never used it at that level before always at Action-Commands and Trigger-Commands.
It's more for looping or just grabbing one set of something from a list, I will check to see if we can do that Script-Variables
08-25-2017 07:36 AM
Here you go:
$new list "my_newhostname,old_name,$name,newhostname,NOTFOUND"
Let me know if that works for you, I just tested and it works
08-31-2017 03:28 PM
Did that work for you?