I am trying to create a service that will unlock all the services that are locked prior to doing a code deploy (we get errors in our scripts if there are services locked). I tried to tap into the WmRoot servies (wmroot.wm.server.ns) but was unable to get the data in the unlocking service correctly. The wm.server.ns.adminui:unLockMultipleNodes service unlocks all the nodes using an input of string list. The thing is, I am not sure how to manipulate the data from the other services to put it into a string list.
If you run the services getLockedNodesForAllUsers and getAllLocked Nodes, you will see what I am talking about. The data is in a strange format that I was unable to convert.
Ideally, the service would take all the nodes that are locked, maybe exclude a few, then unlock them.