Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

Class BeforeActivityExecutionEventArgs

Represent information about an activity which was planned to execute, contains ProcessInstance object

Inheritance

↳ object

    ↳ EventArgs

        ↳ BeforeActivityExecutionEventArgs

Inherited Members

Empty

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

MemberwiseClone()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.Runtime

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public class BeforeActivityExecutionEventArgs : EventArgs

Constructors

BeforeActivityExecutionEventArgs(ProcessInstance)

Constructor

Declaration
public BeforeActivityExecutionEventArgs(ProcessInstance processInstance)
Parameters
TypeNameDescription
ProcessInstanceprocessInstanceInstance of the process

Properties

ProcessId

Id of the process whose current activity was changed

Declaration
public Guid ProcessId { get; }
Property value
TypeDescription
Guid

IsSubprocess

If true means that the current activity was changed for subprocess

Declaration
public bool IsSubprocess { get; }
Property value
TypeDescription
bool

SchemeCode

Code of the scheme of the process

Declaration
public string SchemeCode { get; }
Property value
TypeDescription
string

ProcessInstance

Instance of the process

Declaration
public ProcessInstance ProcessInstance { get; }
Property value
TypeDescription
ProcessInstance

ExecutedActivityName

Returns the name of executed activity.

Declaration
public string ExecutedActivityName { get; }
Property value
TypeDescription
string

ExecutedActivityState

Returns the state name of executed activity.

Declaration
public string ExecutedActivityState { get; }
Property value
TypeDescription
string

ExecutedActivity

Returns the executed activity.

Declaration
public ActivityDefinition ExecutedActivity { get; }
Property value
TypeDescription
ActivityDefinition

ExecutedTransition

Returns the executed transition.

Declaration
public TransitionDefinition ExecutedTransition { get; }
Property value
TypeDescription
TransitionDefinition

CurrentActivity

Returns the current activity. Activity which was final for last executed transition TransitionDefinition.From

Declaration
public ActivityDefinition CurrentActivity { get; }
Property value
TypeDescription
ActivityDefinition

CurrentActivityName

Returns the name of current activity. Activity which was final for last executed transition TransitionDefinition.From

Declaration
public string CurrentActivityName { get; }
Property value
TypeDescription
string

CurrentState

Returns the current state.

Declaration
public string CurrentState { get; }
Property value
TypeDescription
string

Extension Methods