The Task parameter in the dynamic code editor allows access to the dynamic plugin task being executed.