Service_PreCanInvokeMethod Event

Siebel CRM calls the Service_PreCanInvokeMethod event before it calls the PreInvokeMethod event. This configuration allows you to determine if the user possesses the authority to call a business service method. This method returns CancelOperation or ContinueOperation. For more information, see Caution About Using the Cancel Operation Event Handler.

Server Script Format

Service_PreCanInvokeMethod(MethodName, &CanInvoke)

The following table describes the arguments for the Server Script format of the Service_PreCanInvokeMethod event.

Argument Description

MethodName

A string that contains the name of the method that Siebel CRM must run.

&CanInvoke

A string that indicates if Siebel CRM can call the business service method. You can use one of the following values:

  • TRUE. Siebel CRM can call the business service method.

  • FALSE. Siebel CRM cannot call the business service method.

Browser Script Format

Service_PreCanInvokeMethod(MethodName)

The arguments you can use with this format are the same as the arguments described in WebApplet_InvokeMethod Event.

Used With

Browser Script, Server Script