REST: filter by process variables as UUID

It is possible to filter tasks for process variables that are UUID?

Example:
engine-rest/history/task?processVariables=relatedEvent_eq_5127362b-ac52-11e8-bc48-1e350a005b4b"

Is this intentionally not working?

I tried also with a POST:

{
    "processVariables": [
        {
            "name": "relatedEvent",
            "value": "5127362b-ac52-11e8-bc48-1e350a005b4b",
            "operator": "eq"
        }
    ]
}

but nothing changes.

If I convert the UUID into a String variable in the process it works, but this means I have to modify every single process bpm.

Hi @Mizar01,

Filtering by variable only works for variable values of primitive types that are listed here: https://docs.camunda.org/manual/7.9/user-guide/process-engine/variables/#supported-variable-values

Cheers,
Thorben

1 Like

I guessed it.

Nevertheless I think this could be a useful feature: If the object with the same name is an UUID instead of a String, the comparison should be done anyway.