Skip to content

Commit 26e2f5c

Browse files
committed
Updated section about inserting variables with the new placeholder format
1 parent b76998f commit 26e2f5c

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

content/developer/bpmn/bpmn-user-tasks.mdx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -197,19 +197,18 @@ Tasklist](/images/tasklist/submit-variables.png)
197197
Existing variables of the processInstance can be retrieved to be shown inside
198198
the User Task.
199199

200-
For this, the HTML Code of the User Task must make use of the [Whiskers template
201-
syntax](https://github.com/gsf/whiskers.js) to access and use process variables.
202-
It is easy and keeps templates readable by limiting tags to variables,
203-
statements ("for", "if", and "else"), partials, and comments. Usually you only
204-
need { } for accessing the desired variable.
200+
For this, the HTML Code of the User Task must make use of placeholders to access and use process variables.
201+
It is easy and keeps templates readable by limiting tags to variables and
202+
statements ("for" and "if"). Usually you only
203+
need {% %} for accessing the desired variable.
205204

206205
In this example, the variables `firstname` and `surname` are shown inside this
207206
User Task
208207

209208
```
210209
<form class="form">
211210
<div id="i3jcu">
212-
<b id="i4m1">Hello, {firstname} {surname}!
211+
<b id="i4m1">Hello, {%firstname%} {%surname%}!
213212
</b>
214213
</div>
215214
<img id="inmmd" src="https://cdn.pixabay.com/photo/2015/07/02/10/40/writing-828911_1280.jpg"/>

0 commit comments

Comments
 (0)