CampaignExecution Model
CampaignExecution
The CampaignExecution class represents a specific execution of a campaign and contains information about its status, the clients processed, applications created, and any execution errors.
This entity is not versioned and extends BaseEntity<Long>.
π Inheritance and Relationships
BaseEntity<Long>β a base class provided by timveroOSRelationship with Campaign: many-to-one β each CampaignExecution belongs to a single
Campaign
π Key Fields
campaignβ the associatedCampaignstatusβ the current execution status (CampaignExecutionStatus)clientsβ clients selected by the script (Set<Client>)applicationsβ applications created as a result (List<Application>)exceptionβ error information if execution failed (ExceptionEntity, nullable)
π The exception Field
exception FieldThe exception field is an object of type ExceptionEntity, provided by the platform.
If the execution ends with an error, the stack trace and message are stored here.
In the UI (campaign-execution/details.html), it is shown as a clickable link:
<a th:href="@{'/exception-entity/' + *{exception.id}}">Script execution error</a>π CampaignExecutionStatus Enum
CampaignExecutionStatus Enumπ Model Example
Last updated
Was this helpful?