Getrobots args on the NimBUS Request command line

Discussion created by DaveRick on Dec 17, 2009
Latest reply on Dec 17, 2009 by keith_k
I am attempting to grab the maintenance status from the "getrobots" function, looking for status 4.  The code behind it is simple enough however I am having some trouble with the passing of the server name into the args.  Below is the code I am using:

args = pds.create()



robotListStatus = nimbus.request("/"..domain.."/"..hubname,"getrobots", args)


The variable "robotname" is passed in from a parent script and simply holds a string value of the servername.  However, when I use this I get an error saying "got nil".  If I simply enter a blank string in place of the variable, it pulls a list of all servers and works just fine.  The problem is I don't want to sort through all the servers everytime. 

Any thoughts as to why it won't accept the variable?