Human Task Service proposal#55
Conversation
Signed-off-by: salaboy <Salaboy@gmail.com>
|
Thanks Mauricio! Couple of initial thoughts.... Initially I thought I understood the value of the proposal, but after reading it through a couple of times, I'm struggling to understand what a In my head, I see a Tasks, because they have status associated to them, implement a simple lifecycle:
Created: this is the initial status of a task when it gets created.
Assigned: tasks needs to be assigned before they can be worked on. Assigning a task to an empty group/user will set the task back to Created status.
Started: A task must be started, before it is completed. Once the task is started, its payload can change.
Completed: A completed task cannot change it's payload.
Maybe a more E2E pseudo-code example including GitHub issues would help make the cognitive leap to what you are thinking. I think this is what you are alluding to here :
Other thoughts...
I feel strongly to recommend not taking a dependency on the using State Store Query API for any part of this implementation, as the Query API is not going to graduate and is something that we dissuade the community from using, so we probably shouldn't use it internally either. I do understand that it being an internal detail, yes, it could be migrated away from in future without customer impact, but it still makes me uncomfortable to take a dependency on it given the negative sentiment given to it from several maintainers.
I see all the above as exactly why Workflows exists today, to orchestrate and co-ordinate business processes (much like any workflow / BPMN tool)
Dapr Bindings already offer several Notification-based capabilities, I would recommend exploring integrating this proposal with Bindings in order to leverage existing art. |
Here is the initial proposal for adding a new Human Task Service to complement the workflow functionality. I would appreciate feedback and comments. I can create a small PoC to demonstrate how this should work with some examples if the Dapr community thinks that these features would be helpful.