Take 'inoutflag' from frontend and decide which type information gives to front end (i.e recorded or created).