cancel
Showing results for 
Search instead for 
Did you mean: 

Business Key in List of Tasks

jindal8787
Champ in-the-making
Champ in-the-making
Hi Team

We are using business key to correlate application data with the Activiti data. While listing down list of tasks, we can query on the basis of 'processInstanceBusinessKey'. However, in the results we don't get the business key along with task details (id, name, tenantId, assignee, formkey, processInstanceId etc..).

Wouldn't it be good if we could include the business key too in the task list results? It could save a lot of our time from fetching business key for each task and append it with result.
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
No, the business key is part of the process instance and isn't inherited by tasks from the process instance (you could make the same argument for all entities related to a process instance …).

I can see the use case though for tasks… however, I don't think we'll have bandwidth to add it soon… if you think it's crucial, wo do appreciate any pull request!