@@ -417,7 +417,7 @@ def generate_triggered_data(trigger_type: TriggerTypeEnum, normalized_class, req
417417 # Get the target trigger method defined in the schema_triggers.py module
418418 trigger_method_to_call = getattr (schema_triggers , trigger_method_name )
419419
420- target_uuid = existing_entity_dict ['uuid' ] if existing_entity_dict and 'uuid' in existing_entity_dict else '' ;
420+ target_uuid = existing_data_dict ['uuid' ] if existing_data_dict and 'uuid' in existing_data_dict else '' ;
421421 logger .info (f"To run { trigger_type .value } : { trigger_method_name } for { normalized_class } { target_uuid } " )
422422
423423 # No return values for 'after_create_trigger' and 'after_update_trigger'
@@ -442,7 +442,7 @@ def generate_triggered_data(trigger_type: TriggerTypeEnum, normalized_class, req
442442 try :
443443 trigger_method_to_call = getattr (schema_triggers , trigger_method_name )
444444
445- target_uuid = existing_entity_dict ['uuid' ] if existing_entity_dict and 'uuid' in existing_entity_dict else '' ;
445+ target_uuid = existing_data_dict ['uuid' ] if existing_data_dict and 'uuid' in existing_data_dict else '' ;
446446 logger .info (f"To run { trigger_type .value } : { trigger_method_name } for { normalized_class } { target_uuid } " )
447447
448448 # Will set the trigger return value as the property value by default
@@ -490,7 +490,7 @@ def generate_triggered_data(trigger_type: TriggerTypeEnum, normalized_class, req
490490 try :
491491 trigger_method_to_call = getattr (schema_triggers , trigger_method_name )
492492
493- target_uuid = existing_entity_dict ['uuid' ] if existing_entity_dict and 'uuid' in existing_entity_dict else '' ;
493+ target_uuid = existing_data_dict ['uuid' ] if existing_data_dict and 'uuid' in existing_data_dict else '' ;
494494 logger .info (f"To run { trigger_type .value } : { trigger_method_name } for { normalized_class } { target_uuid } " )
495495
496496 # Will set the trigger return value as the property value by default
0 commit comments