ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | List of all members
concurrency_policy Struct Referencefinal

Report instance concurrency behaviour when a new trigger fires. More...

#include <concurrency_policy.hpp>

Collaboration diagram for concurrency_policy:
Collaboration graph

Public Attributes

int version = 0
 Version number for optimistic locking and change tracking.
 
std::string code
 Unique concurrency policy code.
 
std::string name
 Human-readable name for the concurrency policy.
 
std::string description
 Detailed description of the concurrency policy behaviour.
 
int display_order
 Order for UI display purposes.
 
std::string modified_by
 Username of the person who last modified this concurrency policy.
 
std::string performed_by
 Username of the account that performed this action.
 
std::string change_reason_code
 Code identifying the reason for the change.
 
std::string change_commentary
 Free-text commentary explaining the change.
 
std::chrono::system_clock::time_point recorded_at
 Timestamp when this version of the record was recorded.
 

Detailed Description

Report instance concurrency behaviour when a new trigger fires.

Reference data table defining valid concurrency policies for report definitions. Examples: 'skip', 'queue', 'fail'.

Concurrency policies control what happens when a scheduler trigger fires for a report definition that already has a running instance.

Member Data Documentation

◆ code

std::string code

Unique concurrency policy code.

Examples: 'skip', 'queue', 'fail'.

◆ change_reason_code

std::string change_reason_code

Code identifying the reason for the change.

References change_reasons table (soft FK).