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

GetCampaignId


GetCampaignId returns the campaign identification string.

Syntax

GetCampaignId

Returns

The campaign ID as a string.

Usage

GetCampaignId returns the campaign ID as set up by launching a script from Siebel Campaigns, Siebel CTI, or the SetCampaignID method. This information, if available, is stored in the SmartScript session for calls.

Siebel VB Example

Dim CampaignId as String
CampaignId = Script.GetCampaignId

See Also

GetCampContactId, GetContactId, and SetCampaignId.

Siebel SmartScript Administration Guide