Question
4
Replies
58
Views
Posted: January 23, 2018
Last activity: January 24, 2018
Web Service Interaction with CPM 7.12?
Hi all,
We are looking to implement a web service to initiate an Interaction, using CPM 7.12.
A "-...Interaction-Web" interaction is referred to in CPM 7.13 but this is does not appear to be the case for CPM 7.12.
With that in mind, does anyone have any pointers for implementing this capability, adhering to the usual Interaction/Service Intent process?
Hi Benjamin, I can interpret your question in one of two ways. Are you looking to start an interaction in the background using a web service ? Or are you looking to use a web service to start an interaction in the CSR's portal without having an incoming call or chat or some other trigger like that ?
If the answer is former, then you can use a SnapStart method to create the interaction. The details of that implementation are below. If the answer is latter, then you will have to use a javascript API to inject this in. The ScreenPopInteractionStarter has code that does this.
For SnapStart:
Create an activity called SnapStart in whatever class you want (one that inherits from PegaCA-Work-Interaction)
Then you would invoke this activity via URL <server>?pyActivity=PegaCA-Work-Interaction-<class>.SnapStart?<optional params>. You can include the authentication directly in the URL if you want, “UserIdentifier=<operator>&Password=<base64 encoded version of the password>”.
hope this helps