# Capture token for later completion
captured_token = Temporalio::Activity::Context.current.info.task_token