Hi
I have a UI where I want to select a Workflow Type (corresponding to a deployment on the engine). Once selected I want to show in a dropdown the Users Tasks that could be available. So rather than querying each process instance for Tasks is there a way to list what user tasks are defined in the deployments?
In Tasklist on the Camunda UI I can filter Tasks by name. on the UI we want to build we would like to be able to have a dropdown of filter values corresponding to the User Task Names that we can filter on the value or values selected
I’d like to get some clarifications from you to see if i can help
So are you asking for a list of user tasks as they are defined in a definition, rather than tasks that are currently active?
I don’t really understand this unfortunately, do you have a mock-up of the thing you’re trying to built that might be helpful in understand what you’re going for.
So yes I am asking for a list of user tasks as they are defined in a definition, rather than tasks that are currently active.
So we have a bunch of workflows that have been created. The users would be working with various different users tasks that need to be performed across multiple workflows so their workload is represented on the screen with different tasks. E.g. Approve Order, Review Order etc.
The UI can use the API to fetch the tasks outstanding in each workflow definition.
e.g. /Tasks?ProcessDefinition=xxxx
However what we would really like is that the user has a filter dropdown so that they can show only Approve Order or Review Order or any other user task that might be created in the future.
What is need is an API call that can dynamically populate this drop down with the tasks across workflows and also to further filter on workflow types and workflow tasks within each workflow.