AnsweredAssumed Answered

Groovy - Return Environment Classification

Question asked by david.gehrer622423 on Oct 2, 2017
Latest reply on Oct 11, 2017 by david.gehrer622423

I am trying to write a Groovy script that will return the Environment Classification (Production, Test). 

 

This was my initial attempt but there is no signature for the method.

ExecutionManager.getCurrent().getContainerConfig().getContainerClassification();

 

Error:

Test execution of Groovy_Get_Env_Type completed with errors. Embedded message: Error executing data process; Caused by: No signature of method: com.boomi.container.config.ContainerConfig.getContainerClassification() is applicable for argument types: () values: {} (in groovy script); Caused by: No signature of method: com.boomi.container.config.ContainerConfig.getContainerClassification() is applicable for argument types: () values: {}

Outcomes