wfm.GetOrganisations
This job returns all defined organizations and indicates which organization is activated. Only one organization can be activated at a time via the enaio® editor-for-workflow.
2. Output Parameters
| Name | Type | Dependency | Description |
|---|---|---|---|
|
BASE64 |
— |
Information about all available organizations in XML format (see Structure of |
4. Structure of Organisations
<Organisations>
<Organisation Id="1" Name="Standard" Active="1"/>
<Organisation Id="2" Name="Archiv" Active="0"/>
</Organisations>
4.1. Attributes of Organisation
| Attribute | Type | Description |
|---|---|---|
|
STRING |
Unique ID of the organization. Used as an input parameter for other |
|
STRING |
Display name of the organization, as configured in the enaio® editor-for-workflow. |
|
INT |
Indicates whether the organization is active ( |
5. Notes
-
Exactly one organization is always active. This invariant is enforced server-side by the enaio® editor-for-workflow.
-
If the workflow engine (
wfm) is not licensed or not loaded, the job fails with an error code — no empty list is returned.
6. See Also
-
wfm.SetActiveOrganisation — Activates a specific organization
-
wfm.GetAbsentUsers — Retrieves absent users of an organization (expects
OrganisationId) -
wfm.GetOrganisationClasses — Returns the classes of an organization
-
wfm.GetOrganisationObjects — Returns the objects in an organization class
-
wfm.SaveOrganisation — Saves an organization
-
wfm.DeleteOrganisation — Deletes an organization