About a year ago, one could use getvar("qc_test_run_id") in a WR script that was running through Quality Center and retrieve the run ID of the script from the QC RUN table.
At some point this stopped working, I presume because of a patch or upgrade on Quality Center. The function now returns zero.

I'm wondering if anyone has any information on this, or another method to achieve the same end. It seems like a helpful bit of functionality but there's almost no information available on it (1 hit on Google).