Got the activate process and accept task functions working.