client_types()
Returns all client types defined in the system, via wfm.GetSysClienttypes.
A client type is mandatory when starting a workflow
(start_process() and
workflow_list()). There is no "all clients" value on the
server side: an empty or multi-GUID ClientTypeId is rejected.
1. Signature
-
Sync
-
Async
ecm.workflow.client_types() -> list[ECMClientType]
await ecm.workflow.client_types() -> list[ECMClientType]
3. Example
for ct in ecm.workflow.client_types():
print(ct.id, ct.name)
win_client = next(ct for ct in ecm.workflow.client_types() if ct.name == "#OSECM_Client#")
4. See also
-
workflow_list() — requires a client type
-
start_process() — requires a client type