process_configuration
Module to interact with process configurations.
This module contains class to interact with a process configuration in EMS data integration.
Typical usage example
process_configuration = data_model.create_process_configuration(
activity_table_id=activity_table.id,
case_id_column="CASE_ID",
activity_column="ACTIVITY_EN",
timestamp_column="EVENTTIME",
)
process_configuration.case_id_column = "CASE_ID"
process_configuration.update()
process_configuration.reload()
process_configuration.delete()
ProcessConfiguration ¶
Bases: DataModelConfiguration
Process configuration object to interact with process configuration specific data integration endpoints.
data_model_id
instance-attribute
¶
Id of data model where process configuration is located.
data_pool_id
instance-attribute
¶
Id of data pool where process configuration is located.
timestamp_column
instance-attribute
¶
Name of timestamp column.
from_transport
classmethod
¶
Creates high-level process configuration object from given DataModelConfigurationTransport.
Parameters:
-
client
(
Client
) –Client to use to make API calls for given process configuration.
-
data_pool_id
(
str
) –Id of data pool where process configuration is located
-
data_model_configuration_transport
(
DataModelConfiguration
) –DataModelConfigurationTransport object containing properties of process configuration.
Returns:
-
ProcessConfiguration
–A ProcessConfiguration object with properties from transport and given client.
update ¶
Pushes local changes of process configuration to EMS and updates properties with response from EMS.