Taking Templates to the
Limit
Create Bulletproof Camunda
Element Templates with JSON
Schema
Niklas Kiefer
Camunda
1
Slide 2
Slide 2 text
2
Slide 3
Slide 3 text
About me
Software Engineer at Camunda, bpmn.io
Part of the team who delivers the web-based modeling BPMN, DMN, and Forms
GitHub: @pinussilvestrus
Twitter: lutki95
3
Slide 4
Slide 4 text
What’s in today
Element Templates
JSON Schema
Element Templates features you may not know
Coding Element Templates in your favorite IDE
How to model a pizza delivery with Element Templates
4
Slide 5
Slide 5 text
Element Templates
5
Slide 6
Slide 6 text
load on start
High Level Overview
6
reusable JSON files
domain-specific, user
friendly interface and
appearance
supported in Camunda
Platform 7 and 8
JSON Schema
defines and
validates
Slide 7
Slide 7 text
Check out the docs
7
Slide 8
Slide 8 text
Examples
Send an Email
Call a UiPath bot
Get data from an Excel sheet
Connect to a REST API
….
Find some samples on GitHub!
8
Slide 9
Slide 9 text
JSON Schema
9
Slide 10
Slide 10 text
JSON Schema
Vocabulary that allows you to annotate and validate JSON documents
Defining the structure of JSON data
It makes JSON documents robust on the application level
Check it out: https://json-schema.org/
10
Slide 11
Slide 11 text
load on start
High Level Overview
11
reusable JSON files
domain-specific, user
friendly interface and
appearance
supported in Camunda
Platform 7 and 8
JSON Schema
defines and
validates
Slide 12
Slide 12 text
Element Templates JSON Schema
Check it out: https://github.com/camunda/element-templates-json-schema
12
Slide 13
Slide 13 text
Element Templates JSON Schema
13
Slide 14
Slide 14 text
Let’s Code Some
Element Templates!
14
Slide 15
Slide 15 text
Hungry for pizza
15
Slide 16
Slide 16 text
Hungry for pizza (with templates)
16
Slide 17
Slide 17 text
Hungry for pizza (with templates)
17
Demo time!
Slide 18
Slide 18 text
Resources
Element Templates Documentation
Element Templates JSON Schema
Element Templates Samples
Report Issue
Give Feedback
18
Slide 19
Slide 19 text
Resources
Element Templates Documentation
Element Templates JSON Schema
Element Templates Samples
Report Issue
Give Feedback
19
You are welcome
to contribute!