You need to create role as list and set it after employees but without parent as role list got top level as All Roles . Import the excel which is part of your activity and map it with code and roles but leave parent blank. Your import will run successfully .