I told Frank I would call him when I was (finish / finished) cleaning my apartment.
finish
finished
The past participle finished is required after the helping verb was.