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

GetCampaignId


GetCampaignId returns the campaign identification string.

Syntax

GetCampaignId

Returns

The campaign ID as a string.

Usage

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

See Also

GetCampContactId, GetContactId, and SetCampaignId.

Siebel SmartScript Administration Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.