@@ -43,6 +43,7 @@ class UiPathRuntimeContext(BaseModel):
4343 org_id : str | None = None
4444 folder_key : str | None = None
4545 process_key : str | None = None
46+ parent_operation_id : str | None = None
4647 config_path : str = "uipath.json"
4748 runtime_dir : str | None = Field (
4849 "__uipath" , description = "Directory for runtime files"
@@ -376,6 +377,14 @@ def from_config(
376377 attributes_set .add (attr_name )
377378 setattr (instance , attr_name , runtime_config [config_key ])
378379
380+ # Handle InternalArguments
381+ internal_arguments = runtime_config .get ("internalArguments" , {})
382+ if internal_arguments and isinstance (internal_arguments , dict ):
383+ parent_operation_id = internal_arguments .get ("parentOperationId" )
384+ if parent_operation_id :
385+ attributes_set .add ("parent_operation_id" )
386+ instance .parent_operation_id = parent_operation_id
387+
379388 # Handle fpsProperties mapping
380389 for config_key , attr_name in fps_mappings .items ():
381390 if config_key in fps_config and hasattr (instance , attr_name ):
0 commit comments