C# Class Rock.Workflow.Action.SendEmailWithEvents

Inheritance: ActionComponent
Afficher le fichier Open project: NewSpring/Rock

Méthodes publiques

Méthode 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

Méthode 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 méthode

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.
Résultat bool

UpdateEmailStatus() public static méthode

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].
Résultat void