Instance/Object override using uvm_factory

Hello,

I am trying to override the sequence_item instance/object using set_inst_override_by_name . But I am confused about the instance_path (which is the 3rd argument of method) of the sequence_item.
So, How to set the path for sequence_item from uvm_top hierarchy?
Below is the syntax for instance_override:

factory.set_inst_override_by_name (origional_name, override_name, instance_full_path)

Thanks in Advance.

In reply to gunjanpatel313:

sequence and seq_item do not belong to the topology of the testbench. They are transient objects.
Using set_inst_override_by_name is not the right override way.

In reply to chr_sue:

So, Can we use the set_type_override_by_type() method for overriding the sequence item/object? or is there any other way? Please provide any example code snippet.

In reply to Susanth Gudiwada:

Simply use set_type_override like this:

my_old_seq::type_id::set_type_override( my_new_seq::get_type());

This is the recommended way.