process diagnosis