Class ActionMailSender
java.lang.Object
com.collibra.dgc.workflow.api.listener.ActionMailSender
- All Implemented Interfaces:
Serializable,org.flowable.engine.delegate.TaskListener,org.flowable.task.service.delegate.BaseTaskListener,org.flowable.task.service.delegate.TaskListener
This Mail sender will send workflow action emails for the task this
TaskListener is configured for. Only
simple tasks are possible without required form input except buttons.
Possible input fields are:
- template: the name of the template that should be used to generate the mail (OPTIONAL).
- section: the name of the section that should be used to generate the mail (OPTIONAL).
- grouped: send the action mail grouped or not, by default false.
- subject: the subject of the action mail to be send in case of non-grouped mail.
- executeIfTrue:
trueif the action mail should be send,falseotherwise - includeActivityStream:
trueif the activity stream should be included if set,falseotherwise - includeAttributes:
trueif the attributes should be included,falseotherwise - includeRelations:
trueif the relations should be included,falseotherwise - relationTypes: a CSV of relation types that need to be shown in the mail, if empty, all relation types corresponding to matching assignment groups will be displayed. (Used only if includeRelations is true)
- attributeTypes: a CSV of attribute types that need to be shown in the mail, if empty, all attribute types corresponding to matching assignment groups will be displayed. (Used only if includeAttributes is true)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final StringWorkflow email action mail default grouped template.static final StringWorkflow email action mail default button.static final StringWorkflow email action mail default subject.static final StringWorkflow email action mail default non grouped template.static final StringWorkflow email action mail default section.static final StringDeprecated.This field will be removed in the future.static final StringWorkflow email action mail line telling user to provide a body to the task.static final Stringstatic final StringFields inherited from interface org.flowable.task.service.delegate.BaseTaskListener
EVENTNAME_ALL_EVENTS, EVENTNAME_ASSIGNMENT, EVENTNAME_COMPLETE, EVENTNAME_CREATE, EVENTNAME_DELETE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidnotify(org.flowable.task.service.delegate.DelegateTask delegateTask)
-
Field Details
-
BODY_CONTENT_SEPARATOR
- See Also:
-
DEFAULT_GROUPED_TEMPLATE
Workflow email action mail default grouped template.- See Also:
-
DEFAULT_NON_GROUPED_TEMPLATE
Workflow email action mail default non grouped template.- See Also:
-
DEFAULT_SECTION
Workflow email action mail default section.- See Also:
-
DEFAULT_MAIL_BUTTON_KEY
Workflow email action mail default button.- See Also:
-
DEFAULT_MAIL_SUBJECT_KEY
Workflow email action mail default subject.- See Also:
-
WORKFLOW_ACTION_BODY_LINE
Workflow email action mail line telling user to provide a body to the task.- See Also:
-
WORKFLOW_ACTION_BODY_OPTIONAL
- See Also:
-
WORKFLOW_ACTION_BODY_MANDATORY
- See Also:
-
TEMPLATE_VAR_ACTION_CONTENTS
Deprecated.This field will be removed in the future.Template variable for holding the action links. Not used in velocity template model anymore.- See Also:
-
-
Constructor Details
-
ActionMailSender
public ActionMailSender()
-
-
Method Details
-
notify
public void notify(org.flowable.task.service.delegate.DelegateTask delegateTask) - Specified by:
notifyin interfaceorg.flowable.task.service.delegate.TaskListener
-