Siebel SmartScript Administration Guide > Extending Scripts with Siebel VB and Siebel eScript > Sample Siebel VB and Siebel eScript Methods >

Calling Siebel Assignment Manager

Siebel SmartScript allows you to access Siebel Assignment Manager programmatically to determine the person that will handle a particular task. The following Siebel VB code is an example of how to call Siebel Assignment Manager from Siebel SmartScript.

Siebel VB Code

Dim SRBC as BusComp

Set SRBC = Question.GetSaveBusComp
SRBC.InvokeMethod "Assign", "N"

NOTE:  Before this function is called, the Save BusObj and the SaveBusComp business components must have been specified for the current question, and an instance of the business object must have been queried or created.

Siebel SmartScript Administration Guide