Forum Stats

  • 3,770,398 Users
  • 2,253,103 Discussions
  • 7,875,439 Comments

Discussions

Execute Scenario using sdk

Hi Folks,

I'm trying to execute a scenario from a groovy script using the below command.

ExecutionInfo sdkExecInfo = agent.startScenario("PSBUILD_REFRESH", "001", null, null, "GLOBAL", 5, null, true);

The agent is connected through the RemoteRuntimeAgentInvoker class and when the script is executed, I'm getting the below error.

Caused By: org.apache.bsf.BSFException: exception from Groovy: groovy.lang.MissingMethodException: No signature of method: oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker.startScenario() is applicable for argument types: (java.lang.String, java.lang.String, null, null, java.lang.String, java.lang.Integer, null, java.lang.Boolean) values: [PSBUILD_REFRESH, 001, null, null, GLOBAL, ...]

I couldn't figure out anything wrong in the startScenario arguments passed. Kindly help.

Regards,

Aisvarya

Tagged: