The definition can be used to define the type of the column, and it can be chosen from the following list:
Special types of definition:
CASE_ID
TRANSITION
Basic types of definition:
TEXT
NUMBER
BOOLEAN
DATETIME
CATEGORICAL
Common types of definition:
ACTIVITY (sepcial definition of TEXT)
TIMESTAMP (sepcial definition of DATETIME)
RESOURCE (sepcial definition of TEXT)
Optional types of definition:
DURATION (sepcial definition of NUMBER)
COST (sepcial definition of NUMBER)
START_TIMESTAMP (sepcial definition of DATETIME)
END_TIMESTAMP (sepcial definition of DATETIME)
Only one definition can be chosen for one column. If the definition is not chosen, the default definition is TEXT.
These definitions are required for columns of the dataset:
CASE_ID
TIMESTAMP (OR START_TIMESTAMP and END_TIMESTAMP)
ACTIVITY
If one of the START_TIMESTAMP and END_TIMESTAMP is defined, the other one must be defined as well.
case_attributesoptionallist(string)
The list of case attributes.
[
"column_name_1",
"column_name_2"
]
fast_modeoptionalboolean
Default:true
start_transitionoptionalstring
Default:START
complete_transitionoptionalstring
Default:COMPLETE
abort_transitionoptionalstring
Default:ABORT_ATE
Important
Theses attributes fast_mode, start_transition, complete_transition, abort_transition are optional, and are explained in the [Advanced Usage - Log Definition]({{ relref “../../advanced-usage/event-log-operations/log-definition.md” }}) section. Before you check this section, please ignore these attributes, otherwise, some unexpected behaviors may occur.
Upon a successful request, the API response will provide three distinct pieces of information: the count of unique activities, the available outcome options, and the available treatment options.
It should be noted that the outcome_options and treatment_options can be utilized to select the specific columns that will generate the outcome and treatment labels when [creating the project]({{ relref “./project-creation.md” }}).