In reply to dave_59:
Thank you Dave! I think I will go the route of sampling a covergroup from inside the task.