AnsweredAssumed Answered

Pushing available tasks to a custom UI - what Activity Event(s) to hook into?

Question asked by jwestra on Mar 4, 2016
Latest reply on Mar 18, 2016 by jbarrez

I have a custom UI that has a Task Queue (available for claim) and I'm using Web Sockets to push data from the Server to each browser.  The solution I'd like to create is as follows:

1. Each time a new task is available for a set of candidates (whether it is an adhoc Task or a UserTask within a Process Instance flow), I'd like to push it to each browser UI Task Queue without a browser refresh.
2. Each time a task is take OFF a Task Queue by another user, push this info to all the other User's Task Queues so they no longer have the item to try and claim.

I've reviewed the list of events in the UserGuide, but I do not have a clear understanding of which ones to use.

Maybe "TASK_ASSIGNED" is all I need for the removal of the queue.  Thoughts on when to add new, available ones to the UI Task Queue?