How to send a local variable from driver/monitor to scoreboard using write function

I need help in sending a local variable/signal from driver/monitor to the scoreboard using write function along w/ the (seq_item txn)?

In reply to m_r_m:

I didn’t get your exect requirements.
Why you need to pass local veriable through write method.
You can set this variable in some top configuration class of your TB and access inside scoreboard.
If you provide somecode, then someone might suggest you some good approach for your requirement.

Thanks!