Hi Ravi,
I think you are trying to do about the same thing I am, and so you might try the suggestion Time Hunt gave to me in this discussion: https://moodle.org/mod/forum/discuss.php?d=410611#p1656205
I think you are trying to do about the same thing I am, and so you might try the suggestion Time Hunt gave to me in this discussion: https://moodle.org/mod/forum/discuss.php?d=410611#p1656205