Class WorkflowServiceExtensions
- Namespace
- Dynamicweb.Ecommerce.Workflows
- Assembly
- Dynamicweb.Ecommerce.dll
public static class WorkflowServiceExtensions
- Inheritance
-
WorkflowServiceExtensions
- Inherited Members
Methods
GetGroupUsages(WorkflowService, int)
Return list of groups where workflow is used
public static IEnumerable<WorkflowUsage> GetGroupUsages(this WorkflowService workflowService, int workflowId)
Parameters
workflowServiceWorkflowServiceworkflowIdintThe workflow id
Returns
- IEnumerable<WorkflowUsage>
The collection of the WorkflowUsage.
GetWorkflowsInUseByGroups(WorkflowService)
Get all workflows which are referenced by a product group
public static IEnumerable<Workflow> GetWorkflowsInUseByGroups(this WorkflowService workflowService)
Parameters
workflowServiceWorkflowService
Returns
- IEnumerable<Workflow>
The collection of the Workflow.
GetWorkflowsInUseByProducts(WorkflowService)
Get all workflows which are referenced by a product
public static IEnumerable<Workflow> GetWorkflowsInUseByProducts(this WorkflowService workflowService)
Parameters
workflowServiceWorkflowService
Returns
- IEnumerable<Workflow>
The collection of the Workflow.