Missing data from queue when tried to pop from different task

In reply to dave_59:

Thanks Dave,

It worked, I used the below code
$cast(rx_item_clone,rx_item.clone());

Regarding the one that you have mentioned, scb_item, the intention is create a new empty item on every posedge clock since its forever loop and assign the real Data item while pop_front() and use the item to send to the scoreboard and destroy it.

BR,
Antony