C# Class Rock.Workflow.Action.SendEmailWithEvents

Inheritance: ActionComponent
Show file Open project: NewSpring/Rock

Public Methods

Method Description
Execute ( RockContext rockContext, WorkflowAction action, Object entity, List &errorMessages ) : bool

Executes the specified workflow.

UpdateEmailStatus ( System.Guid actionGuid, string status, string emailEventType, RockContext rockContext, bool ProcessWorkflow ) : void

Updates the email status.

Private Methods

Method Description
EmailStatus ( WorkflowAction action ) : string
HoursElapsed ( WorkflowAction action ) : double
Send ( string recipients, string from, string subject, string body, object>.Dictionary mergeFields, RockContext rockContext, bool createCommunicationRecord, string>.Dictionary metaData ) : void
SendEmail ( RockContext rockContext, WorkflowAction action ) : void

Method Details

Execute() public method

Executes the specified workflow.
public Execute ( RockContext rockContext, WorkflowAction action, Object entity, List &errorMessages ) : bool
rockContext Rock.Data.RockContext The rock context.
action WorkflowAction The action.
entity Object The entity.
errorMessages List The error messages.
return bool

UpdateEmailStatus() public static method

Updates the email status.
public static UpdateEmailStatus ( System.Guid actionGuid, string status, string emailEventType, RockContext rockContext, bool ProcessWorkflow ) : void
actionGuid System.Guid The action unique identifier.
status string The status.
emailEventType string Type of the email event.
rockContext Rock.Data.RockContext The rock context.
ProcessWorkflow bool if set to true [process workflow].
return void