the first element of the [activeGroups]{@link ActiveGroupService#activeGroups} array, or undefined
if the array is empty
Emits a new array into the [activeGroups$]{@link ActiveGroupService#activeGroups$} observable, that contains only
the provided Case object. If undefined
is passed as argument, an empty array will be pushed into the observable.
the new active group case reference
the first element of the [activeGroups]{@link ActiveGroupService#activeGroups} array, or undefined
if the array is empty
an Observable containing the first element of the [activeGroups$]{@link ActiveGroupService#activeGroups$} observable,
or undefined
if the contained array is empty
In the default implementation this stream copies the values of the [memberGroups$]{@link NextGroupService#memberGroups$} stream of the NextGroupService. Whenever the copies stream emits, the underlying stream in this class emits the same value.
an Observable of all the groups that are currently active
Generated using TypeDoc
This service to the groups that are "active" for the logged user.
The meaning of "active" can wary from application to application. And this service provides the utility to track this state.
The active groups are assumed to be a subset of the groups the logged user is a member of, but this assumption is not enforced nor checked.
If at most one group can be active at a time, this service provides utility methods to access this group directly.
The groups are assumed to be instances of the engine group process, this is never checked nor enforced.
In the default implementation the initially active groups are all the groups the logged user is a member of.