save_organisation()
Persists a workflow organisation via wfm.SaveOrganisation. The server stores
the current state of the organisation and broadcasts a notification to all
connected clients afterwards.
1. Signature
-
Sync
-
Async
ecm.workflow.save_organisation(organisation: str | ECMOrganisation) -> None
await ecm.workflow.save_organisation(organisation: str | ECMOrganisation) -> None
2. Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
|
|
— |
Organisation ID as a string or an |
4. Examples
5. Notes
-
The job automatically notifies all clients of the change.
-
Typically called after organisation changes (e.g. after
configure_user_absence()orset_substitutes()) when persistence should be forced explicitly.
6. See also
-
organisations() — Query workflow organisations
-
configure_user_absence() — Configure user absence
-
set_substitutes() — Set substitutes