schedule_utils.py
get_km_dict_by_key(celonis, layer_id=None, knowledge_model_key=None)
¶
    Get a Knowledge Model by Key.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| celonis | Celonis Base object. | required | |
| layer_id | str | Knowledge Model layer ID. | None | 
| knowledge_model_key | Key of the Knowledge Model. | None | 
Returns:
| Type | Description | 
|---|---|
| Dict | The Knowledge Model. | 
get_custom_object_from_km_dict(km, object_id)
¶
    Get a specific Custom Object from a Knowledge Model by ID.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| km | Dict | Knowledge Model as Dictionary. | required | 
| object_id | str | ID of the Custom object. | required | 
Exceptions:
| Type | Description | 
|---|---|
| PyCelonisNotFoundError | If Custom Object could not be found. | 
Returns:
| Type | Description | 
|---|---|
| Dict | The Custom Object. | 
get_record_from_km_dict(km, record_metadata_id)
¶
    Get a specific Record from a Knowledge Model by ID.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| km | Dict | Knowledge Model as Dictionary. | required | 
| record_metadata_id | str | ID of the Record. | required | 
Exceptions:
| Type | Description | 
|---|---|
| PyCelonisNotFoundError | If Record could not be found. | 
Returns:
| Type | Description | 
|---|---|
| Dict | The Record. | 
get_filters_from_km_dict(km, filter_ids)
¶
    Get all Filters from a Knowledge Model by ID.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| km | Dict | Knowledge Model as Dictionary. | required | 
| filter_ids | str | Comma separated list of IDs of Filters. | required | 
Returns:
| Type | Description | 
|---|---|
| List | A List of Filters. |