Table of Contents

Class WorkflowService

Namespace
Dynamicweb.Security.Workflows
Assembly
Dynamicweb.Core.dll

The WorkflowService class is a Domain Service responsible for resolving and creating workflow

public class WorkflowService
Inheritance
WorkflowService
Inherited Members
Extension Methods

Methods

Delete(IEnumerable<int>)

Delete workflow by ids

public virtual void Delete(IEnumerable<int> ids)

Parameters

ids IEnumerable<int>

The workflow ids to remove

GetAll()

Gets all workflow in solution.

public virtual IEnumerable<Workflow> GetAll()

Returns

IEnumerable<Workflow>

The collection of the Workflow.

GetById(int)

Gets workflow by id

public virtual Workflow? GetById(int workflowId)

Parameters

workflowId int

The workflow id

Returns

Workflow

The Workflow or null if not found.

GetByIds(IEnumerable<int>)

Gets workflow by id

public virtual IEnumerable<Workflow> GetByIds(IEnumerable<int> workflowIds)

Parameters

workflowIds IEnumerable<int>

The workflow identifiers

Returns

IEnumerable<Workflow>

The Workflow or null if not found.

Save(Workflow)

Save workflow

public virtual Workflow Save(Workflow workflow)

Parameters

workflow Workflow

The workflow to save

Returns

Workflow

Return updated version of the workflow

To top