Try our conversational search powered by Generative AI!

Class WorkflowManager

Implements operations for the work flow manager.

Inheritance
System.Object
WorkflowManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Engine
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
[Obsolete("This class is no longer used. Use Mediachase.Commerce.Engine.ExecutionManager instead. Will remain at least until October 2016.")]
public static class WorkflowManager

Methods

ExecuteWorkflow(String, Dictionary<String, Object>)

Executes the workflow synchronously and returns the result.

Declaration
public static WorkflowResults ExecuteWorkflow(string workflowName, Dictionary<string, object> parameters)
Parameters
Type Name Description
System.String workflowName

Name of the workflow.

System.Collections.Generic.Dictionary<System.String, System.Object> parameters

The parameters.

Returns
Type Description
WorkflowResults

The results of the workflow executions.

ExecuteWorkflowAndReturnResults(String, Dictionary<String, Object>)

Executes the workflow synchronously and returns the result.

Declaration
[Obsolete("This method is now obsolete since executing a workflow always returns a WorkflowResults. Use ExecuteWorkflow instead. Will remain at least until October 2016.")]
public static WorkflowResults ExecuteWorkflowAndReturnResults(string workflowName, Dictionary<string, object> parameters)
Parameters
Type Name Description
System.String workflowName

Name of the workflow.

System.Collections.Generic.Dictionary<System.String, System.Object> parameters

The parameters.

Returns
Type Description
WorkflowResults

The results of the workflow executions.

ExecuteWorkflowWithoutResults(String, Dictionary<String, Object>)

Executes the workflow.

Declaration
[Obsolete("This method is now obsolete since executing a workflow always returns a WorkflowResults. Use ExecuteWorkflow instead. Will remain at least until October 2016.")]
public static void ExecuteWorkflowWithoutResults(string workflowName, Dictionary<string, object> parameters)
Parameters
Type Name Description
System.String workflowName

Name of the workflow.

System.Collections.Generic.Dictionary<System.String, System.Object> parameters

The parameters.