Click or drag to resize
AutomationTemplateManagerUpsertConfigurationFromWorkflow Method
Creates configuration (steps, transitions and triggers) from given workflow and inserts it to given template.

Namespace: CMS.Automation
Assembly: CMS.Automation (in CMS.Automation.dll) Version: 13.0.131
Syntax
C#
public static void UpsertConfigurationFromWorkflow(
	AutomationTemplateInfo template,
	WorkflowInfo workflow
)

Parameters

template
Type: CMS.AutomationAutomationTemplateInfo
Automation template where configuration is inserted.
workflow
Type: CMS.WorkflowEngineWorkflowInfo
Workflow from which data are loaded.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when template or workflow is null.
ArgumentExceptionThrown when given workflow is not automation process.
InvalidOperationExceptionThrown when creating of AutomationTemplateInfo failed.
See Also