How to get the current task of a case from another process

1
0
-1

Hi,

I'm trying to get information about the current task case from another process because I got to make possible modify some local variables from a "monitor" process. I can't find nothing in the ProcessAPI like "getCurrentActivity" or "getCurrentTask".

Thanks in advance,

David.

1 answer

1
0
-1
This one is the BEST answer!

Hi,

what is a current task for you ? A pending task ?

It's possible to:

  • get the pending tasks for a user: searchPendingTasksForUser

  • get all unarchived human tasks: searchHumanTaskInstances

  • get the assigned and pending tasks: searchAssignedAndPendingHumanTasks

Best regards, Céline

Notifications