Adapt NA task status using command script exit code
I'm running a task that use a command script and I would like to be able to set the status of the task to Warning in some cases.
Actualy when I use the exit code in the script I'm only able to set the status to Failed or Succeeded.
Is there a way to set the task status to Warning when our script encounter some designed behaviours ?
Thanks in advance.
In in linux, try to
- add this rcx option in adjustable_options.rcx
- reload server options from NA CLI/proxy
- Use exit(-1) for warning in your perl scripts
It's been some time since i used this so not sure if it's still working.
HP SW Technical Consultant
Cloud and Automation Professional Services
thanks for your reply.
I tried it but could not made it work.
I forgot to say that I'm running a 9.00.04 version and that my command script is made whith Expect.
I'm still looking for a solution on my own but as I didn't knew about the rcx file I think I still will need help.