Click or drag to resize
WorkflowManagerGetEmailTemplateInternal 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: 8.2.23
Syntax
C#
protected virtual KeyValuePair<string, string> GetEmailTemplateInternal(
	WorkflowInfo workflow,
	WorkflowStepInfo step,
	WorkflowActionEnum action,
	bool toEditor,
	bool notification,
	MacroResolver resolver
)

Parameters

workflow
Type: CMS.WorkflowEngineWorkflowInfo
Workflow
step
Type: CMS.WorkflowEngineWorkflowStepInfo
Target workflow step
action
Type: CMS.WorkflowEngineWorkflowActionEnum
Workflow action
toEditor
Type: SystemBoolean
Indicates if e-mail template should be used to send e-mail to editor
notification
Type: SystemBoolean
Indicates if general notification template should be returned
resolver
Type: CMS.MacroEngineMacroResolver
Macro resolver

Return Value

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