Click or drag to resize
WorkflowManager.GetEmailTemplateInternal Method
Gets e-mail template name and default subject to be used for given action

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
protected virtual KeyValuePair<string, string> GetEmailTemplateInternal(
	WorkflowInfo workflow,
	WorkflowStepInfo step,
	WorkflowActionEnum action,
	bool toEditor,
	bool notification,
	MacroResolver resolver
)

Parameters

workflow
Type: CMS.WorkflowEngine.WorkflowInfo
Workflow
step
Type: CMS.WorkflowEngine.WorkflowStepInfo
Target workflow step
action
Type: CMS.WorkflowEngine.WorkflowActionEnum
Workflow action
toEditor
Type: System.Boolean
Indicates if e-mail template should be used to send e-mail to editor
notification
Type: System.Boolean
Indicates if general notification template should be returned
resolver
Type: CMS.MacroEngine.MacroResolver
Macro resolver

Return Value

Type: KeyValuePair<String, String>
E-mail template name and default subject as a pair. Key represents the template name, value represents default subject.
See Also