Siebel SmartScript Administration Guide > Extending Scripts with Siebel VB and Siebel eScript > SmartScript Methods >
GetCampaignId returns the campaign identification string.
The campaign ID as a string.
GetCampaignId returns the campaign ID created when a script is launched 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
GetCampContactId, GetContactId, and SetCampaignId.