Show / Hide Table of Contents

Class WorkflowContext

Context for a server method which runs on a Workflow event

Inheritance
System.Object
WorkflowContext
DelegateContext
VoteContext
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Innovator.Server
Assembly: Innovator.Client.dll
Syntax
public class WorkflowContext : IWorkflowContext, IContext

Constructors

| Improve this Doc View Source

WorkflowContext(IServerConnection, IReadOnlyItem)

Initializes a new instance of the WorkflowContext class.

Declaration
public WorkflowContext(IServerConnection conn, IReadOnlyItem item)
Parameters
Type Name Description
IServerConnection conn

The connection.

IReadOnlyItem item

The item.

Properties

| Improve this Doc View Source

Activity

The activity during which the method is being called

Declaration
public Activity Activity { get; }
Property Value
Type Description
Activity
Implements
IWorkflowContext.Activity
| Improve this Doc View Source

Conn

Connection to the database

Declaration
public IServerConnection Conn { get; }
Property Value
Type Description
IServerConnection
Implements
IContext.Conn
| Improve this Doc View Source

Context

The item which is the context of the workflow

Declaration
public IReadOnlyItem Context { get; }
Property Value
Type Description
IReadOnlyItem
Implements
IWorkflowContext.Context
| Improve this Doc View Source

ErrorBuilder

Error builder which captures any errors which are encountered

Declaration
public IErrorBuilder ErrorBuilder { get; }
Property Value
Type Description
IErrorBuilder
Implements
IWorkflowContext.ErrorBuilder
| Improve this Doc View Source

Exception

Get the exception object created for any errors that have happened so far.

Declaration
public Exception Exception { get; }
Property Value
Type Description
System.Exception
Implements
IWorkflowContext.Exception
| Improve this Doc View Source

QueryDefaults

Method for modifying the query to get the context item

Declaration
public Action<IItem> QueryDefaults { get; set; }
Property Value
Type Description
System.Action<IItem>
Implements
IWorkflowContext.QueryDefaults
| Improve this Doc View Source

WorkflowEvent

The event for which the server method is being called

Declaration
public WorkflowEvent WorkflowEvent { get; }
Property Value
Type Description
WorkflowEvent
Implements
IWorkflowContext.WorkflowEvent
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX