cancel
Showing results for 
Search instead for 
Did you mean: 

Filter Tasks Specific to Process

Former Member
0 Kudos

Hello All

Is there any ways using BPM public API to filter task specific to a process?

I mean if I save some KEYS in task input data object, how can i filter tasks based on this key?

The business requirement is to list all task for a particular process(no matter who is the actual owner)

Thanks,

Vinay

Accepted Solutions (1)

Accepted Solutions (1)

former_member191044
Active Contributor
0 Kudos

Hi Vinay,

there seems to be no "clean" way to do so. You could only try to set some specific param into the task description and filter them via API. Then you would have to set this param in the task input mapping for example on the end of the description field.

Regards,

Tobias

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank you Tobias and Jun.

But if I use BPM public api, it still gives me task of only logged in user as I can see only one method 'getmytaskabstract'??

Is there any ways to access 'BPM_MY_TASKS_DS' in WDJ like custom data source so that I can filter with subject relevant to my activity.

junwu
Active Contributor
0 Kudos

many api are there

TaskInstanceManager

Former Member
0 Kudos

Thanks Jun for the quick response.

I mean using these API I can only see task assigned to me or ready to be claimed.

But if it's picked up by any of the other group memeber then I can't access.

My requirement is to list all tasks created for a particular group no matter who claimed it.

Please revert if you have any suggestion.

junwu
Active Contributor
0 Kudos

have you opened the link?

getTaskAbstractsByParent can return you all task

junwu
Active Contributor
0 Kudos

if it is customization development, i think you can do it

get all the process instance for that particular process, loop in these processes and get all the task

one thing you have to be aware is, the standard api can only retrieve the process instance generated by latest process definition. you have to find a way to get the old definition in order to retrieve process instance running with old definition