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

Constructors

WorkflowService()

public WorkflowService()

Methods

Delete(IEnumerable<int>)

Delete workflow by ids

public void Delete(IEnumerable<int> ids)

Parameters

ids IEnumerable<int>

The workflow ids to remove

GetAll()

Gets all workflow in solution.

public IEnumerable<Workflow> GetAll()

Returns

IEnumerable<Workflow>

The collection of the Workflow.

GetById(int)

Gets workflow by id

public 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 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 Workflow Save(Workflow workflow)

Parameters

workflow Workflow

The workflow to save

Returns

Workflow

Return updated version of the workflow

To top