Skip to main content

Embedded React worklist

The host application authenticates the user, supplies a same-origin Getriebe HTTP client, handles session expiry and decides how to display an opened task and its form. The worklist passes a task summary to the host; it does not choose a modal or implement process-specific forms.

The worklist obtains visible tasks from the server, supports incremental paging, manual and periodic refresh, and filters for available and assigned tasks. Filters apply to loaded pages. Refresh returns to the first page. The component presents loading, empty and error states. It shows claim and release when the server reports the corresponding action, and does not treat that representation as authorization: the server checks every command again. If a command conflicts with a concurrent change, the component reports the conflict and reloads current state. A missing or expired session is reported to the host.

For a timed offer the component renders the optional dueAt in local time. A withdrawn task offers no worklist actions. A conflicting action that receives task-withdrawn reports the withdrawal and refreshes the list. Authorized task history remains available through the HTTP binding. A displayed deadline can come from an enclosing Sub-Process. When that deadline fires, the withdrawn task leaves the open list. A task opened outside the completed scope has its own deadlines.

For a Multi-Instance review member, the component appends multiInstance.item to the BPMN element ID and passes the metadata to the host when the task opens. Use instanceId and multiInstance.roundId together to correlate members of a round. Open and complete the individual task by its task ID, and use the current attempt’s result schema for the Boolean input. After completion, refresh the Worklist to show the next open position of a sequential round. Each position can be claimed by any eligible member of its assigned role. See the HTTP binding for review rounds and the order walkthrough.

The embedding contract separates required functional CSS from an optional visual theme and provides a small documented set of design tokens with defaults. No global CSS reset is required. Styles are scoped against typical host rules, without promising isolation from arbitrary host selectors or !important declarations. Stable internal CSS class names are not part of the contract. This component does not require a portal or task-form placement.

The worklist HTTP binding and session binding define server behavior and origin, cookie and CSRF rules. Component implementation and accessibility evidence are specific to a tested revision and environment.

Task titles

A host can supply a taskTitle function that maps a loaded task summary to the displayed title. The component uses the BPMN element ID when the host omits the function. The host continues to own the task-specific form and completion action.