TriggerCampaign
Remotely schedules a batch campaign to run at a given time.
Execute
Sample EXECUTE TriggerCampaign CampaignId=12
EXECUTE TriggerCampaign CampaignId=12, LeadIds='1'
EXECUTE TriggerCampaign CampaignId=12, LeadIds='1,2,3', TokenName='token1,token2', TokenValue='value1,value2'
Input
| Name | Type | Required | Description |
| CampaignId | Integer | True | Id of the campaign to schedule. |
| LeadIds | String | False | Lead ids to run through the campaign's flow. |
| 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. |