I am trying out the latest SDK (12.0.0) and changing the user state does not seem to be working anymore.
The getPresenceDefinition()
according to the documentation method returns OrganisationPresenceEntityListing
(which has entities or type OrganizationPresence
). I store this with the application.
When I want to change the state of the agent and try to setup UserPresence
by calling the setPresenceDefinition()
it now expect an PresenceDefinition
object as a parameter rather than OrganizationPresence
object, which I had retrieved by called the above API.
Can you confirm if this is a bug?
(Note: I had followed the User Presence Tutorial @ https://developer.mypurecloud.com/api/tutorials/presence/#java . I believe this won;t work too )