Function getTemplateAfterAspectInvocation