No edit summary |
No edit summary |
||
Line 102: | Line 102: | ||
=== Property "format" === | === Property "format" === | ||
An example | An example with differently formatted links to wiki pages when the property "format" has the value html:<syntaxhighlight lang="xml"> | ||
<bpmn:task id="SendMail" name="send-mail"> | <bpmn:task id="SendMail" name="send-mail"> | ||
<bpmn:extensionElements> | <bpmn:extensionElements> |
Revision as of 10:56, 16 July 2025
Description
The SendMail activity is a very generic activity. It is meant to send a report via mail after an action has been completed. This could be done after voting, but may also concern other activities in future, for example.
Following a quick overview:
Short profile | |
---|---|
Name | SendMail |
Async | No |
Input/form | - |
Associated to | Approval Workflows, Collect Feedback Workflows |
BPMN type | bpmn:Task |
Properties
Input
Name of property | Source | Description | Type | Action |
---|---|---|---|---|
assigned_user | UserVote | Name of the user, who casted the vote | string | collect |
comment | UserVote | Comment of the user | string | collect |
vote | UserVote | Result of the voting (values: YES, NO) | string | collect |
reportrecipient | CollectData | Mailadress of the user who was specified to receive an email after the workflow is finished | string | collect |
timestamp | Timestamp of the date when mail is sent | timestamp | display | |
timestamp | Timestamp of the voting | timestamp | display | |
username | Name of the user, who casted a vote | string | display | |
groupname | Name of the group, who casted a vote | string | display | |
vote | Result of the voting | boolean / string | display | |
comment | Comment of the user concerning a wikipage | string | display | |
format | Allows to include html syntax in the body of the email (values:plaintext, html) | string |
Property "format"
An example with differently formatted links to wiki pages when the property "format" has the value html:
<bpmn:task id="SendMail" name="send-mail">
<bpmn:extensionElements>
<wf:type>send_mail</wf:type>
</bpmn:extensionElements>
<bpmn:property name="recipient" default="{{{CollectData.reportrecipient}}}"/>
<bpmn:property name="subject">{{FULLPAGENAME}}</bpmn:property>
<bpmn:property name="format">html</bpmn:property>
<bpmn:property name="body"><![CDATA[
<a href="Testseite">Testseite</a>
https://mywiki.com/wiki/Testseite
<a href="{{FULLPAGENAMEE}}">{{FULLPAGENAMEE}}</a>
FULLPAGENAMEE
{{fullurl:{{PAGENAMEE}}}}
{{PAGENAMEE}}
{{SUBPAGENAME:{{fullurl:{{PAGENAMEE}}}}}}{{#titleparts:{{fullurl:{{PAGENAMEE}}}}| | -1 }}
]]>
</bpmn:property>
<bpmn:incoming>FromUserFeedbackToSendMail</bpmn:incoming>
<bpmn:outgoing>FromSendMailToTheEnd</bpmn:outgoing>
</bpmn:task>
Output
Name of property | Source | Description | Type | Action |
---|---|---|---|---|
subject | SendMail | Subject of the mail incl. corresponding wikipage affected by previous activity | string | display |
body | SendMail | Standardized text in a mail, which includes
|
string | display |
Extension elements
Name of extension element | Description | Type |
---|---|---|
type |