No edit summary |
No edit summary |
||
Line 110: | Line 110: | ||
<bpmn:property name="subject">{{FULLPAGENAME}}</bpmn:property> | <bpmn:property name="subject">{{FULLPAGENAME}}</bpmn:property> | ||
<bpmn:property name="format">html</bpmn:property> | <bpmn:property name="format">html</bpmn:property> | ||
<bpmn:property name="body"><![CDATA[ | <bpmn:property name="body"> | ||
<![CDATA[ | |||
Example 1: <a href="https://mywiki.com/wiki/Testseite">Testseite</a><br> | Example 1: <a href="https://mywiki.com/wiki/Testseite">Testseite</a><br> | ||
Example 2: <a href="{{fullurl:{{FULLPAGENAMEE}}}}">{{FULLPAGENAME}}</a><br> | Example 2: <a href="{{fullurl:{{FULLPAGENAMEE}}}}">{{FULLPAGENAME}}</a><br> | ||
Example 3: <a href="{{fullurl:{{FULLPAGENAMEE}}}}">{{#titleparts:{{PAGENAMEE}}| | -1 }}</a> | Example 3: <a href="{{fullurl:{{FULLPAGENAMEE}}}}">{{#titleparts:{{PAGENAMEE}}| | -1 }}</a> | ||
]]> | ]]> | ||
</bpmn:property> | </bpmn:property> | ||
<bpmn:incoming>FromUserFeedbackToSendMail</bpmn:incoming> | <bpmn:incoming>FromUserFeedbackToSendMail</bpmn:incoming> |
Revision as of 11:51, 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[
Example 1: <a href="https://mywiki.com/wiki/Testseite">Testseite</a><br>
Example 2: <a href="{{fullurl:{{FULLPAGENAMEE}}}}">{{FULLPAGENAME}}</a><br>
Example 3: <a href="{{fullurl:{{FULLPAGENAMEE}}}}">{{#titleparts:{{PAGENAMEE}}| | -1 }}</a>
]]>
</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 |