Getting extensionProperties from externalTaskService

Hello everybody!

Currently i’m trying to retrieve extensionProperties from external task service

            List<LockedExternalTask> taskList = camunda.getExternalTaskService()
                    .fetchAndLock(100, EXTERNAL_WORKER_ID)
                    .topic(topic, 100L)
                    .execute();

bui in taskList i can’t see any extension properties in debug mode

my process model is

help please to retrieve extension properties.

thanks a lot

Hi @moshell .
This should work and include the extension properties:

            List<LockedExternalTask> taskList = camunda.getExternalTaskService()
                    .fetchAndLock(100, EXTERNAL_WORKER_ID)
                    .topic(topic, 100L)
                    .includeExtensionProperties()
                    .execute();

Hi! @rohwerj

Thanks a lot!
you made me happy!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.