skansakar | 2017-06-26 14:40:29 UTC | #1
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 :) )
tim.smith | 2017-06-26 15:17:50 UTC | #2
I've updated the tutorial. The SDK is correct. https://github.com/MyPureCloud/developercenter-tutorials/blob/master/presence/java/src/com/genesys/Main.java
skansakar | 2017-06-28 09:02:01 UTC | #3
Thanks for updating the tutorial.
On the tutorial, I can now see how the mapping is done between OrganizationPresence and PresenceDefinition.
So on the latest version parameters seems to have changed. Where can I get a list of similar changes between the SDKs?
tim.smith | 2017-06-28 12:42:20 UTC | #4
You can see each release with a count of the changes here: https://github.com/MyPureCloud/platform-client-sdk-java/releases
To view the changes in each release, look at this file's history: https://github.com/MyPureCloud/platform-client-sdk-java/blob/master/releaseNotes.md
system | 2017-08-28 19:35:24 UTC | #5
This post was migrated from the old Developer Forum.
ref: 1468