User presence

This activity retrieves or sets CloudLink presence for one or more selected users. Presence can be set to any of the predefined values, and an optional reason can be provided. The retrieved or set presence values are returned in an array.

Table 1. User presence action - Inputs
Parameters Description

Operation

"Get" to retrieve presence, or "Set" to set presence for a user.

WorkMode

If set to true, setting the presence updates the agent Status and Reason. Otherwise, user presence is updated to the provided Status and Reason.

Users

List of users to set or retrieve presence for.

Status

Status to be set on the user.

Reason

Reason to be set on the user for the status update.

Table 2. User presence action - Outputs
Parameters Description

Success

Indicates whether the activity was completed successfully (value = True) or not (value = False)

Result

List of retrieved users with presence or list of updated users.