add logging around complete task process lookup