States
Campaign state can be managed to put campaign in specific stage of its life. Certain activities are therefore enabled or disabled.
Every new campaign is by default put in In preparation state. In preparation states enables all the settings, flow and content to be modified. From there, campaign can be put in Active state. In Active state campaign can only have its content and settings modified, while campaign flow can not be modified. Active campaign can be Paused, Canceled or be put in Completed state. Completed state is final state campaign can be in.
How campaign state can be switched is displayed in the diagram below.
stateDiagram-v2
[*] --> InPreparation
InPreparation --> Active
Active --> Pause
Active --> Canceled
Active --> Completed
Pause --> InPreparation
Pause --> Active
Pause --> Canceled
Pause --> Completed
Canceled --> InPreparation
Completed --> [*]Campaign flow can only be modified in In preparation state.
In order to successfully activate the campaign, verification text must be entered. In case campaign is set as test campaign, TEST must be entered, otherwise LIVE to activate live campaign.
