Get Presence

Task definition

The Get Presence task gets a user's current presence status on behalf of a watcher. This request is based on user's ACL rule, and both watcher and presentity should be a configured presence user. This task requires psconnector snap-in.

- This API is authorized if psconnector service attribute ‘force application authorization rule’ is disabled, or if the watcher has this calling app in its service profile. If authorization fails, an UnAuthorizedException is thrown.

This is an asynchronous task.

Task properties

Both watcher and presentity URIs are mandatory. They have to be a presence services user, and the parameter should be the user's SMGR login name.

All mandatory fields should either be mapped using the Input Mapping window or entered in the Properties window for validation to succeed.

Input schema

Output schema

Error handling

Not applicable.

Prerequisites

Related Boundary Events

Not applicable.

Use case

Get the presence state of a user on behalf of a watcher, use the presence state to decide next action in chain.