Export job process in function