process context template with entity list