Example of Calling More Than One Object Interface Method in Siebel eScript

The following example is in Siebel eScript:

var iReturn;
switch (methodName)
{
   case "PushOpportunity":
      //your custom code
      iReturn = CancelOperation;
      break;
   case "Stage3":
      //your custom code
      iReturn = CancelOperation;
      break;

   default:
      iReturn = ContinueOperation;
}
return (iReturn);