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.
TSX
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
Prop
Type
Description
|
| 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 info saved with the draft). Each row is an EccProcess with state: "SAVED".
The list is an EccTable.
Related
Page
Relation
detail pane for the selected draft | |
where drafts are saved | |
the table the list is built on |
Was this section helpful?
On this page
- EccSavedProcesses