def env = [ scope_id: contextScopeId, process_instance_id: execution.getProcessInstanceId(), smardigo_management_action: smardigoManagementAction, cluster_name: cluster.name, cluster_service: cluster.service, cluster_services_str: ([cluster.service] + execution.getVariable('connect-features')).join(','), cluster_size: cluster.size, stage: cluster.stage, current_realm_name: tenant.key, current_realm_display_name: tenant.name, tenant_id: tenant.key ] if (binding.hasVariable('extraVariables')) { env << extraVariables } env