Out-of-the-box Search-Options for a specific task (Camunda 8)

Hello,

I am currently using the Camunda 8 and I was wondering, how I can search for a specific task (e.g., in Tasklist)?

A User-Task is created and must wait for input from business partners. When the input (e.g., through an Email) arrives, a Bot than must find the corresponding Task to this input. My idea was to identify the corresponding Task through the process instance key, but I couldn’t find an option to do this. Is there an Out-of-the-box Option through the standard UI in Camunda 8, to search for a specific task through a parameter that differs from the standard Options (Assigned to me, unassigned, completed, creation date, due date, follow up date)?

I would really appreciate your Feedback.

Thanks in advance.

Hey @dreiss

did you checked the Tasklist REST API already?

This might help you Task API | Camunda 8 Docs

Running a POST request to /v1/tasks/search with a search request

Which can contain the following:

{
    "state": TaskState,
    "assigned": boolean,
    "assignee": string,
    "taskDefinitionId": string,
    "candidateGroup": string,
    "candidateUser": string,
    "processDefinitionKey": string,
    "processInstanceKey": string,
    "pageSize": int,
    "followUpDate": DateFilter,
    "dueDate": DateFilter,
    "taskVariables": [TaskVariables],
    "tenantIds": [string],
    "sort": [TaskOrderBy],
    "searchAfter": [string],
    "searchAfterOrEqual": [string],
    "searchBefore": [string],
    "searchBeforeOrEqual": [string]
}

Hope this helps.

Greets
Chris

Hey @Zelldon,

thank you for the quick answer.

The option via an API can definitely be a solution. I would prefer a solution via the standard / Out-of-the-box GUI. Is there a way to search for a specific task via the standard GUI that is available to me (Console, Modeler, Tasklist, Operate, Optimize) using parameters such as process instance key?

Or is it possible to display the task found via API at e.g. the top of task center?

Background: An RPA bot is supposed to complete this task afterwards via the UI in order to maintain the low-code approach desired by the customer?

If there is no possibility to search for a specific task via the standard UI, I would greatly appreciate a briefly confirmation. In that case, I would continue to pursue the API option.

Thanks in advance.

Best,
Daniel

Hey @dreiss

afaik there is currently no search, only the limited filtering mechanics. But thank you for providing more details! Maybe you’re interested in creating a feature request here Issues · camunda/camunda-platform · GitHub I will also forward this to the respective team. :slight_smile:

Greets
Chris

Hey @Zelldon,

no problem, thank you very much for the information :slight_smile: I will look into creating a feature request.

Best,
Daniel

Hi @dreiss , thank you for that request!
We are currently working on filter + search options for Tasklist.

I am curious what your use case is - would you be open to share more? Especially about your bot usage!
I want to understand how we can support you further.

Best,
Christian

Hi @christian-konrad,
that sounds great thank you very much!

Of course, sorry for the wait. I am looking into possabilities to synchronize cross-company workflows through RPA-Bots. My use case is that the different participant cant communicate on WfMS-Level (for various reasons) and therefore have to find another solution through a different Software (in this case RPA). In the use case a partizipant gets infomration about one case though email and then the bot has to finde the matching task in tasklist to add the new information. Because RPA uses the normal UIs, i wanted to search for a spezific id (process instanze key) in order to find the right task. Therefore a filter/search option in the tasklist UI through which the bot (or the user) can search for a specific task and therofre only this task is beeing displayed in the Tasklist, is the perfect fix for my problem.

I could also imagine a solution where the bot searches for a specific task via the existing API and then there is some kind of way to easily display this Task in the Tasklist.

Hope this helps and thanks for your interest!

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