Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel

On this page

Table of Contents
maxLevel2
exclude(On this page|Use case).*
stylecircle
typeflat
separatorpipe



UI Text Box
sizemedium
typeinfo

Use case

With the Send email post function you have the possibility to send an email and format its content using HTML.

In the following use case we explain how to create a table in the body of the email with HTML using the elements of a text.




Configuration

UI Steps



UI Step

Add the Send email post function to the desired workflow transition or create a new transition.


UI Step

Define the basic configuration with the required and information you need to fill in for your email.


UI Step


UI Steps

Email content

UI Step

Subject

Enter a plain text and optionally use Field codes for the subject of your email.


UI Step

Email format

Choose HTML 


UI Step

Body

Enter the following expression.

Code Block
languagexml
linenumberstrue
<table>
  <tr>
    <th>Title of the table</th>

  </tr>

{{{toString(textOnStringList(toStringList(%{issue.cfAAAAA}), "<tr><td>" + %{seed.text} + "</td></tr>"), "")}}}
    
</table>



UI Step

Replace the field code %{issue.cfAAAAA} with the field code of your custom field and change the title of the table in the previous expression.







Related use cases

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Parser functions, Label
sortByTitle
cqllabel in ("use-case-workflow","parser_func_tostring","parser_func_textonstringlist","parser_func_tostringlist") and ancestor = "32211207"


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Workflow functionSend email
Parser functionstoString() textOnStringList() toStringList()
Label



Page properties
hiddentrue



Status
Tech review

Status
titletodo

Style guide

Status
titletodo

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged