client_types()
Gibt alle im System definierten Client-Typen zurück, über wfm.GetSysClienttypes.
Ein Client-Typ wird beim Starten eines Workflows zwingend benötigt
(start_process() und
workflow_list()). Es gibt serverseitig keinen
„alle Clients"-Wert: ein leerer oder mehrfacher ClientTypeId wird abgewiesen.
1. Signatur
-
Sync
-
Async
ecm.workflow.client_types() -> list[ECMClientType]
await ecm.workflow.client_types() -> list[ECMClientType]
3. Beispiel
for ct in ecm.workflow.client_types():
print(ct.id, ct.name)
# Standard-Windows-Client heraussuchen
win_client = next(ct for ct in ecm.workflow.client_types() if ct.name == "#OSECM_Client#")
4. Siehe auch
-
workflow_list() — benötigt einen Client-Typ
-
start_process() — benötigt einen Client-Typ