External Task stuck in older version process definition

Hi,

I’m trying to fetch external task from older versions of the process without success.

I have 4 process definitions, and when I try to fetch external tasks like:

http://localhost:8080/engine-rest/engine/default/external-task/

I only get the external task from the most recent process definition.

How can I fetch the external tasks from the older versions of the process?

Thks.
Pedro Ferreira

The Human Tasks works fine. All 4 process run at the same time without problem. It only stucks on the external tasks.

If you want to get an external task from a specific processes version you can add the processDefinitionId to the request. You can find more details in the docs.

I already tried to specify the processDefinitionId in the service REST, but the only version that returns a task is the last one.

For example, the image below show all process definition versions.

Invoking the service rest adding the processDefinitionId, you can see in the picture that the only task returned is the 4 version one, despite the fact that there are others external task, for example, in the first version of the process…

There is no doubt that I am doing something wrong, I just can’t figure out what…

Sorry for the messy photo, but I was allowed to post just one picture…

Thank you

Pedro Ferreira