# Configuring External worker task with spring boot

**URL:** <https://forum.flowable.org/t/configuring-external-worker-task-with-spring-boot/7257>\
**Category:** Flowable Engine\
**Created:** [December 29, 2020, 2:10pm UTC](https://forum.flowable.org/t/configuring-external-worker-task-with-spring-boot/7257 "2020-12-29T14:10:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![akshaygik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/akshaygik/32/2152_2.png) [@akshaygik](https://forum.flowable.org/u/akshaygik)\
**Post date:** [December 29, 2020, 2:10pm UTC](https://forum.flowable.org/t/configuring-external-worker-task-with-spring-boot/7257/1 "2020-12-29T14:10:10Z")

</div>

I need to configure **external task** in my flowable spring boot application. I got some idea from official document: [https://flowable.com/open-source/docs/bpmn/ch07b-BPMN-Constructs/#external-worker-task](https://flowable.com/open-source/docs/bpmn/ch07b-BPMN-Constructs/#external-worker-task) but its not much clear and detailed. Can someone share an example on same, if there is?  
Need some understanding on how to configure **topic** to hold AcquiredExternalWorkerJob and is topic here means JMS topic?

---

<div class="post-metadata">

**Author:** ![akshaygik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/akshaygik/32/2152_2.png) [@akshaygik](https://forum.flowable.org/u/akshaygik)\
**Post date:** [January 4, 2021, 5:02am UTC](https://forum.flowable.org/t/configuring-external-worker-task-with-spring-boot/7257/2 "2021-01-04T05:02:42Z")

</div>

Any updates available on this?  
Thanks in advanced.

---

<div class="post-metadata">

**Author:** ![filiphr](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/filiphr/32/315_2.png) [@filiphr](https://forum.flowable.org/u/filiphr)\
**Post date:** [January 4, 2021, 8:28am UTC](https://forum.flowable.org/t/configuring-external-worker-task-with-spring-boot/7257/3 "2021-01-04T08:28:01Z")

</div>

Hey @akshaygik,

If you want to use the REST API I would suggest having a look at the [`ExternalWorkerAcquireJobResourceTest`](https://github.com/flowable/flowable-engine/blob/master/modules/flowable-external-job-rest/src/test/java/org/flowable/external/job/rest/service/api/acquire/ExternalWorkerAcquireJobResourceTest.java).

If you want to use the Java API then I would suggest having a look at the [`ExternalWorkerServiceTaskTest`](https://github.com/flowable/flowable-engine/blob/master/modules/flowable-engine/src/test/java/org/flowable/engine/test/externalworker/ExternalWorkerServiceTaskTest.java).

> [@akshaygik](#):
>
> Need some understanding on how to configure **topic** to hold AcquiredExternalWorkerJob and is topic here means JMS topic?

No this is not a JMS topic, but it is similar to it. When external worker jobs are created they are created for a certain topic. You have to specify a topic when you model them. When acquiring those jobs you have to provide the topic that you want to acquire.

Cheers,  
Filip

---

<div class="post-metadata">

**Author:** ![akshaygik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/akshaygik/32/2152_2.png) [@akshaygik](https://forum.flowable.org/u/akshaygik)\
**Post date:** [January 6, 2021, 9:18am UTC](https://forum.flowable.org/t/configuring-external-worker-task-with-spring-boot/7257/4 "2021-01-06T09:18:09Z")

</div>

Thanks a ton @filiphr solutions worked for me!!
