Tutorial: Application.getGroups

Application.getGroups

Deprecation Warning: All Window Group APIs will be removed by major version 22.

Retrieves an array of active window groups for all of the application's windows. Each group is represented as an array of wrapped fin.Windows.

Example

async function getGroups() {
    const app = await fin.Application.getCurrent();
    return await app.getGroups();
}

getGroups().then(groups => console.log(groups)).catch(err => console.log(err));