Bhuber (talk | contribs)
No edit summary
Bhuber (talk | contribs)
No edit summary
 
Line 54: Line 54:
|reportrecipient
|reportrecipient
|CollectData
|CollectData
|Mailadress of the user who was specified to receive an email after the workflow is finished
|Email address of the user who was specified to receive an email after the workflow is finished
|string
|string
|collect
|collect
Line 72: Line 72:
|username
|username
|
|
|Name of the user, who casted a vote
|Name of the user who cast a vote
|string
|string
|display
|display
Line 78: Line 78:
|groupname
|groupname
|
|
|Name of the group, who casted a vote
|Name of the group who cast a vote
|string
|string
|display
|display
Line 102: Line 102:


=== Property "format" ===
=== Property "format" ===
An example with differently formatted links to wiki pages when the property "format" has the value html:<syntaxhighlight lang="xml">
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>
Line 143: Line 143:
|Standardized text in a mail, which includes  
|Standardized text in a mail, which includes  


*the name of the user who casted the vote
*the name of the user who cast the vote
*a comment, which was left by the user
*a comment, which was left by the user
*the voting result
*the voting result

Latest revision as of 10:52, 10 November 2026

SkySapphire

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 Email address 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 cast a vote string display
groupname Name of the group who cast 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/Testpage">Testpage</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
  • the name of the user who cast the vote
  • a comment, which was left by the user
  • the voting result
string display

Extension elements

Name of extension element Description Type
type