feat(#13): S-12b — Workflow Client user-tasks + Beoordelen userTask #83
Reference in New Issue
Block a user
Delete Branch "feat/13-workflow-user-tasks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What & why
Second sub-slice of S-12 (#13) — the Workflow Client gains behandelaar user-task operations, and the process model gains the beoordeling step.
registratie.bpmnnow parks at aBeoordelenuserTask (candidate groupbehandelaar) afterOpenZaakAanmaken;registrationIdrides along as a process variable so the werkbak can correlate each task to its aggregate.IUserTaskClient, the only code that talks to Flowable §8.2):GetOpenBeoordelingenAsync()— the werkbak (openBeoordelentasks + theirregistrationId)ClaimAsync(taskId, behandelaar)CompleteBeoordelingAsync(taskId, besluit)— carries the decision into the process as thebesluitvariableverify-domainnow drives the full user-task lifecycle against a real Flowable — after the worker opens the zaak, it polls for the task, claims it asmerel-behandelaar, completes it (goedkeuren), and asserts the process finishes. This proves the exact REST contract (service/runtime/tasks/query+…/{id}claim/complete) the client depends on.The walking skeleton is unaffected: the temporary
/approvepath still sets the zaak status directly; wiring the domain decision to complete this task (and driving the werkbak from the BFF) lands in S-12c.Definition of Done
refs, does not close)make unit): domain 76, acceptance 9 (acl/event-subscriber/bff unaffected)FlowableWorkflowClientbaseline)verify-domainPart of #13.