EccSavedProcesses
EccSavedProcesses lists the drafts of the logged-in user with search and paging. Together with SavedProcessDetail it lets the user continue or delete a draft.
import { EccSavedProcesses } from "@/ecc/components/widgets/EccSavedProcesses";
import { SavedProcessDetail } from "@/ecc/components/widgets/SavedProcessDetail";
<EccSavedProcesses onSelectProcess={setDraft} selectedProcessId={draft?.processInstanceId}
onCountChange={setDraftCount} onReloadRef={(fn) => { reloadDrafts.current = fn; }} />
<SavedProcessDetail process={draft} onDeleted={() => reloadDrafts.current?.()} />
Props
|
| a draft was clicked |
|
| keeps the selection across reloads |
|
| rows per page |
|
| number of drafts |
|
| gives you a function to reload the list |
Columns: Case (processInstanceDescription, else the process name) and Note (the note eccInfo saved with the draft). Each row is an EccProcess with state: "SAVED".
The list is an EccTable.
CSS
Change the look in the CSS file of your workspace, see Styling.
| widget with a list, see EccTable |
| note of the draft |
| buttons of a row |
Related
detail pane for the selected draft | |
where drafts are saved | |
the table the list is built on |
On this page
- EccSavedProcesses