Operations Orchestration Support and News Forum
Showing results for 
Search instead for 
Do you mean 

Changing the ReturnCode in a Groovy script

Advisor

Changing the ReturnCode in a Groovy script

Hi,

 

In an operation's scriptlet the returnCode can be set like this:

 

scriptletContext.putGlobal("Code", "-1");

 

How do you get the context and do the same within a Groovy operation?

 

Thanks,

 

David Salkin

HP SaaS AnM (Automation and Monitoring Group)