Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnsupportedWorkflowTransition = errors.New("unsupported transition") ErrParsingTemplate = errors.New("error parsing notification template") ErrExecutingTemplate = errors.New("error executing notification template") ErrMarshallingPayload = errors.New("error marshalling notification payload") )
Functions ¶
This section is empty.
Types ¶
type Creator ¶
type Creator struct {
// contains filtered or unexported fields
}
func (*Creator) CreateTask ¶
type NotificationData ¶
type NotificationData struct {
Tenant model.Tenant
Workflow model.Workflow
Transition wf.Transition
}
NotificationData holds workflow-specific notification data
func (NotificationData) GetType ¶
func (w NotificationData) GetType() string
type NotificationTemplateData ¶
type NotificationTemplateData struct {
HeaderTitle string
Message string
InfoTitle string
WorkflowURL string
TenantID string
TenantRegion string
Landscape string
ActionText string
InitiatorName string
WorkflowDescription string
}
NotificationTemplateData contains all data needed for the HTML template
Click to show internal directories.
Click to hide internal directories.