cancel
Showing results for 
Search instead for 
Did you mean: 

Working with activiti and jbpm workflows

pylady
Champ in-the-making
Champ in-the-making
Hello,
I'm using Alfresco 4.2d and I have both jbpm and activiti workflows.
I have to get a list of all completed tasks. For activiti workflows I'm using
NativeHistoricTaskInstanceQuery‍
to search for
HistoricTaskInstance‍
s, and for jbpm workflows I'm getting a list of
WorkflowTask‍
s using
WorkflowTaskQuery‍
.
Can anybody give me a suggestion on what is the best way to work with them together and to put them into one list? Maybe is there a way to convert
HistoricTaskInstance‍
s to
WorkflowTask‍
s?

Thanks in advance,
Jana
1 REPLY 1

trademak
Star Contributor
Star Contributor
For example the Alfresco Task Rest API returns all tasks (jBPM and Activiti) in one query. Did you look at that option?

Best regards,