Skip to end of banner
Go to start of banner

getAllOrganizationIds (Power Scripts)

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Description

Returns the Ids of all Service Desk organizations.

Return Type

Number []

Returns a number array of organization Ids.

Examples

Example 1

return getAllOrganizationIds();

Result: 11|12|13|14.

Example 2

for(number id in getAllOrganizationIds()) {
    runnerLog(getOrganizationNameById(id));
}

Result: "Company A" "Company B" "Company C"

See also

  • No labels