Added getTask to record task set

Signed-off-by: Tom Wright <tom@inflatablecookie.com>