ScheduleCampaign
Passes a set of leads to a trigger campaign to run through the campaign's flow.
Execute
Sample EXECUTE ScheduleCampaign CampaignId=1107, RunAt='2024-06-06T01:00:00', CloneToProgramName='Program 1', TokenName='TestingSP', TokenValue='test'
EXECUTE ScheduleCampaign CampaignId=1107, RunAt='2024-06-06T01:00:00', TokenName='TestingSP,testTokenIndritB', TokenValue='\"test,asd\",2024-12-12'
EXECUTE ScheduleCampaign CampaignId=1107, RunAt='2024-06-06T01:00:00', TokenName#1='TestingSP', TokenValue#1='test', TokenName#2='testTokenIndritB', TokenValue#2='2024-12-12'
Input
Name | Type | Required | Description |
CampaignId | Integer | True | Id of the campaign to schedule. |
RunAt | Datetime | False | Datetime to run the campaign at. If unset, the campaign will be run five minutes after the call is made. |
CloneToProgramName | String | False | Name of the resulting program. When used, this procedure is limited to 20 calls per day. |
TokenName | String | False | Name of the token. Should be formatted as '{{my.name}}'. |
TokenValue | String | False | Value of the token. |
Result Set Columns
Name | Type | Description |
Success | Boolean | Boolean indicating if the procedure was executed successfully. If false, the output parameter 'Details' will contain the failure details. |
Details | String | Details of execution failure. NULL if success=true. |