Skip to content

1. Simplifying the job design

Jan Lolling edited this page Sep 13, 2018 · 3 revisions

The communication to Camunda BPMN related to external task is actually quite simple but looking into the details it causes a significant complexity to the Talend job if you want to have a permanently frequently call for new tasks and also a fail save communication.

Previously Talend job design to fetch and lock tasks and complete them or send failure responses

Talend job design working with external task before

Talend job design (same function as above) using the tCamunda* components:

Talend job design working with external task now

For every communication we have a dedicated component which includes all functionality. The extract variable function is integrated in the tCamundaExtTaskFetchAndLock component. The retry function and the repeat function is also included.

Kind of request Component
Start process tCamundaStartProcessInstance
Fetch and Lock tCamundaExtTaskFetchAndLock
Complete tCamundaExtTaskComplete
Failure tCamundaExtTaskFailure
BPMN Error tCamundaExtTaskBpmnError
Unlock tCamundaExtTaskUnlock
Close connection tCamundaExtTaskClose

Because all components using the same http client connection, at the end of the job this connection needs to be closed with tCamundaExtTaskClose component.

Clone this wiki locally