Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
and	real	life	examples	from	Kühne	+	Nagel	
Camunda	BPM	Custom	Batch
Camunda	BPM	Custom	Batch	|	2	
Simon	Zambrovski	
Holisticon	AG	
BPM	Craftsman	
Stefan	Becke	
Kühne	+	Nagel	(AG	&	Co.)	KG	
L...
Camunda	BPM	Custom	Batch	|	3	
Patrick	Schalk	
Holisticon	AG	
Senior	Consultant	
Most	credits	go	to…
Camunda	BPM	Custom	Batch	|	4	
Requirements	
■  Process	a	huge	amount	of	data,	e.g.:	
¨  Distribution	of	emails	
¨  Reassig...
Camunda	BPM	Custom	Batch	|	5	
Camunda	Solution	
■  Camunda	Batch	–	Since	version	7.5	
■  Manual	operations	on	huge	amount	...
Camunda	BPM	Custom	Batch	|	6	
Nice	...	but	…	
■  Just	for	internal	workload	of	the	engine	
■  No	Java	API	
■  Time	consumi...
Camunda	BPM	Custom	Batch	|	7	
TODO	without	extension	
■  Create	a	batch	entity	
■  Create	a	seed	and	monitoring	job	
■  Cr...
Camunda	BPM	Custom	Batch	|	8	
Example	without	extension	-	BatchEntity
Camunda	BPM	Custom	Batch	|	9	
Example	without	extension	-	Configuration
Camunda	BPM	Custom	Batch	|	10	
BPM	Custom	Batch	
■  Camunda	batch	for	everyone!	
■  Easy	and	fast	integration	
■  Already	...
How	to	use
Camunda	BPM	Custom	Batch	|	12	
Concepts	
Data	
	
	
	
Batch	Data		
	
N	Items	
Job	Handler	
	
	
	
	
Invocations	per	batch	
B...
Camunda	BPM	Custom	Batch	|	13	
Job	Handler
Camunda	BPM	Custom	Batch	|	14	
Batch	Builder
Camunda	BPM	Custom	Batch	|	15	
Configuration
Camunda	BPM	Custom	Batch	|	16	
Engine	Plugin
Camunda	BPM	Custom	Batch	|	18	
Monitoring	and	Recovery
Camunda	BPM	Custom	Batch	|	19	
Example	–	manual	started
Camunda	BPM	Custom	Batch	|	20	
Example	–	amount	of	data
stefan.becke@kuehne-nagel.com	 patrick.schalk@holisticon.de	
simon.zambrovski@holisticon.de	
github.com/camunda/camunda-bp...
CamundaCon 2018: Custom Batch Extension (Holisticon)
Upcoming SlideShare
Loading in …5
×

CamundaCon 2018: Custom Batch Extension (Holisticon)

223 views

Published on

Presented by Simon Zambrovski, Stefan Becke

Do you know Camunda batch and have you ever tried to create your own custom batch with Camunda BPM? Well, we did and it was very time consuming and quite complex. There isn’t really a public API for such things. You have to work at the lowest (entity) level and take e.g. care that batch configuration is saved to the database table.

That’s why we created the Camunda BPM Custom Batch Extension (https://github.com/camunda/camunda-bpm-custom-batch).

The goal of the extension is to provide a simple way of using the Camunda Batch functionality for your own purposes. In this talk we’ll also show you some examples how we use the extension at Kuehne + Nagel for offloading huge workloads.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

CamundaCon 2018: Custom Batch Extension (Holisticon)

  1. 1. and real life examples from Kühne + Nagel Camunda BPM Custom Batch
  2. 2. Camunda BPM Custom Batch | 2 Simon Zambrovski Holisticon AG BPM Craftsman Stefan Becke Kühne + Nagel (AG & Co.) KG Lead Architect Who we are
  3. 3. Camunda BPM Custom Batch | 3 Patrick Schalk Holisticon AG Senior Consultant Most credits go to…
  4. 4. Camunda BPM Custom Batch | 4 Requirements ■  Process a huge amount of data, e.g.: ¨  Distribution of emails ¨  Reassignment of tasks ¨  Technical stuff like clean-up ■  Decoupled from business process ■  Monitoring ■  Recovery / Fault tolerance
  5. 5. Camunda BPM Custom Batch | 5 Camunda Solution ■  Camunda Batch – Since version 7.5 ■  Manual operations on huge amount of processes ■  Initially for migration of processes only ■  Meanwhile as well for a lot of other stuff
  6. 6. Camunda BPM Custom Batch | 6 Nice ... but … ■  Just for internal workload of the engine ■  No Java API ■  Time consuming and complex ■  No documentation
  7. 7. Camunda BPM Custom Batch | 7 TODO without extension ■  Create a batch entity ■  Create a seed and monitoring job ■  Create batch jobs ■  Persist / read configuration (ACT_GE_BYTEARRAY)
  8. 8. Camunda BPM Custom Batch | 8 Example without extension - BatchEntity
  9. 9. Camunda BPM Custom Batch | 9 Example without extension - Configuration
  10. 10. Camunda BPM Custom Batch | 10 BPM Custom Batch ■  Camunda batch for everyone! ■  Easy and fast integration ■  Already used in production ■  Official extension
  11. 11. How to use
  12. 12. Camunda BPM Custom Batch | 12 Concepts Data Batch Data N Items Job Handler Invocations per batch Batch Data Batch Data Number of batch jobs Batch Job Seed Job Number of jobs per seed
  13. 13. Camunda BPM Custom Batch | 13 Job Handler
  14. 14. Camunda BPM Custom Batch | 14 Batch Builder
  15. 15. Camunda BPM Custom Batch | 15 Configuration
  16. 16. Camunda BPM Custom Batch | 16 Engine Plugin
  17. 17. Camunda BPM Custom Batch | 18 Monitoring and Recovery
  18. 18. Camunda BPM Custom Batch | 19 Example – manual started
  19. 19. Camunda BPM Custom Batch | 20 Example – amount of data
  20. 20. stefan.becke@kuehne-nagel.com patrick.schalk@holisticon.de simon.zambrovski@holisticon.de github.com/camunda/camunda-bpm-custom-batch

×