C# Class Rock.Transactions.LaunchWorkflowTransaction

Launches a workflow and optionally sets the name and attribute values
Inheritance: ITransaction
Mostra file Open project: NewSpring/Rock Class Usage Examples

Public Methods

Method Description
Execute ( ) : void

Executes this instance.

GetEntity ( ) : IEntity

Gets the entity.

LaunchWorkflowTransaction ( System.Guid workflowTypeGuid ) : System

Initializes a new instance of the LaunchWorkflowTransaction class.

LaunchWorkflowTransaction ( System.Guid workflowTypeGuid, string workflowName ) : System

Initializes a new instance of the LaunchWorkflowTransaction class.

LaunchWorkflowTransaction ( int workflowTypeId ) : System

Initializes a new instance of the LaunchWorkflowTransaction class.

LaunchWorkflowTransaction ( int workflowTypeId, string workflowName ) : System

Initializes a new instance of the LaunchWorkflowTransaction class.

Method Details

Execute() public method

Executes this instance.
public Execute ( ) : void
return void

GetEntity() public method

Gets the entity.
public GetEntity ( ) : IEntity
return IEntity

LaunchWorkflowTransaction() public method

Initializes a new instance of the LaunchWorkflowTransaction class.
public LaunchWorkflowTransaction ( System.Guid workflowTypeGuid ) : System
workflowTypeGuid System.Guid The workflow type unique identifier.
return System

LaunchWorkflowTransaction() public method

Initializes a new instance of the LaunchWorkflowTransaction class.
public LaunchWorkflowTransaction ( System.Guid workflowTypeGuid, string workflowName ) : System
workflowTypeGuid System.Guid The workflow type unique identifier.
workflowName string Name of the workflow.
return System

LaunchWorkflowTransaction() public method

Initializes a new instance of the LaunchWorkflowTransaction class.
public LaunchWorkflowTransaction ( int workflowTypeId ) : System
workflowTypeId int The workflow type identifier.
return System

LaunchWorkflowTransaction() public method

Initializes a new instance of the LaunchWorkflowTransaction class.
public LaunchWorkflowTransaction ( int workflowTypeId, string workflowName ) : System
workflowTypeId int The workflow type identifier.
workflowName string Name of the workflow.
return System