Class CompositeTaskBase<T>

Base class for all task related compostite event activities.

Inheritance
System.Object
CompositeTaskBase<T>
Implements
System.Workflow.Activities.IEventActivity
Namespace: EPiServer.WorkflowFoundation.Activities
Assembly: EPiServer.WorkflowFoundation.dll
Version: 8.11.0
Syntax
public abstract class CompositeTaskBase<T> : CompositeEventBase<T>, IEventActivity, ICompositeTaskActivity, ICompositeActivity where T : TaskEventBase<T>, new()
Type Parameters
Name Description
T

Constructors

CompositeTaskBase()

Initializes a new instance of the CompositePageBase<T> class.

Declaration
protected CompositeTaskBase()

Fields

InvokedEvent

invoked event

Declaration
public static DependencyProperty InvokedEvent
Field Value
Type Description
System.Workflow.ComponentModel.DependencyProperty

Properties

AssignedTo

The person or group/role the task is assigned to

Declaration
public string AssignedTo { get; }
Property Value
Type Description
System.String

CacheKey

Gets the cache key which can be used to get the triggering Task instance.

Declaration
public string CacheKey { get; }
Property Value
Type Description
System.String

The cache key.

Remarks

The cached item can be recieved from CacheService using IServiceProvider which can be recieved when i.e. overriding Initialize on workflow class

Examples

Shows how Cache service can be used

PreviousStatus

The previous status of the task

Declaration
public TaskStatus PreviousStatus { get; }
Property Value
Type Description
TaskStatus

Status

The status of the task

Declaration
public TaskStatus Status { get; }
Property Value
Type Description
TaskStatus

TaskDescription

The description of the task

Declaration
public string TaskDescription { get; }
Property Value
Type Description
System.String

TaskSubject

The subject of the task

Declaration
public string TaskSubject { get; }
Property Value
Type Description
System.String

Methods

EventActivity_Invoked(Object, ExternalDataEventArgs)

Handles the Invoked event of the EventActivity control.

Declaration
protected virtual void EventActivity_Invoked(object sender, ExternalDataEventArgs e)
Parameters
Type Name Description
System.Object sender

The source of the event.

System.Workflow.Activities.ExternalDataEventArgs e

The System.Workflow.Activities.ExternalDataEventArgs instance containing the event data.

Events

Invoked

Event delegate that is called when event occurs

Declaration
public event EventHandler<WorkflowTaskEventArgs> Invoked
Event Type
Type Description
System.EventHandler<WorkflowTaskEventArgs>

Implements

System.Workflow.Activities.IEventActivity