WorkflowManagerGetEmailTemplateInternal Method |
Gets e-mail template name and default subject to be used for given action
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax 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,
StringE-mail template name and default subject as a pair. Key represents the template name, value represents default subject.
See Also