Could you elaborate what you are trying to do? It is not clear where/how this ‘command script’ is executed and the platform of the server app (.NET or Delphi)
I use command scripts for various operations, I use
in Relativity Server, I need to access a return parameter …
Imagine a command scripts that I wanted to know the date and time of the
server (this is a hypothetical example), as I would do to read this in a
delphi client?
Because inside command I can read a parameter assigned from my
delphi application and can not do the reverse? (my application read a
output parameter)
function beforeExecuteCommand(sql, commandName, names, values)
{
for (var i=0,len=names.length; i<len; i++)
{
if (names[i] == "idTurma") // Here I can read this parameter, which I passed through my application in delphi ..
var idTurma = values[i];
}
}
Result = 'something bla bla' // I wanted to read this parameter in my application delphi.