For my Simulations I am looking for the active UserTask of a Process Instance.
In Camunda 8, this seems to be hard to achieve.
The tasks Query of the Tasklist API only supports these fields:
type TaskQuery {
state: TaskState
assigned: Boolean
assignee: String
candidateGroup: String
pageSize: Int
taskDefinitionId: String
searchAfter: [String!]
searchAfterOrEqual: [String!]
searchBefore: [String!]
searchBeforeOrEqual: [String!]
}
I also tried the Flow node instance of the Operate API - turns out the id is different to the User Task Id of the Tasklist (by +1 difference )
Any Ideas?