InvokeMethod Method for a Business Service
The InvokeMethod method calls a method on a business service. This method can be a specialized method or a custom method. For more information, see About Specialized and Custom Methods. This method does not return any information.
Siebel eScript Format
oService.InvokeMethod(methodName, InputArguments, OutputArguments)
The following table describes the arguments for the Siebel eScript format of the InvokeMethod method.
Argument | Description |
---|---|
methodName |
A string that contains the name of the method that Siebel CRM must run. |
InputArguments |
A property set that identifies the arguments that the method uses as input. |
OutputArguments |
A property set that identifies the arguments that the method returns as output. |
Siebel VB Format
oService.InvokeMethod methodName, InputArguments, OutputArguments
The arguments you use in this format are the same as the arguments that are described for the Siebel eScript format.
Browser Script Format
outputPropSet=Service.InvokeMethod(MethodName, inputPropSet)
The arguments you use with this format are the same as the arguments described in Applet_InvokeMethod Event.
In Browser Script, you cannot use an output property set for this format.
Usage
A predefined business service works in a way that is similar to how a call to a business component method works. You can call a specialized method on a business service that is not available directly through the object interface.
You must use this method only with Siebel VB or Siebel eScript scripts. You must use Siebel Tools to write these scripts. You can call these scripts from an external interface.
A run-time business service can include a custom method.
Although the InvokeMethod function does not return a value, the properties in the OutputArguments property set might be modified.
For more information, see Arguments for the Siebel eScript Format of the InvokeMethod Method in InvokeMethod Method for an Applet.
Used With
Browser Script, COM Data Control, COM Data Server, Siebel Java Data Bean, Mobile Web Client Automation Server, Server Script
Related Topics
For more information, see the following topics: