Changed the AbstractProcess to ProcessInterface. Process->next() must return an instance of InputParameter. I thought the Process class must define something along those lines. But its a overkill