Hello everyone,
I created a Lightning component to manage the Genesys events inside Salesforce (as interactions, chat etc.), following thins structure: https://github.com/MyPureCloud/purecloud-for-salesforce-examples/tree/master/src/Lightning%20Experience/events-in-salesforce
Inside the PCSalesforceEventsExampleController.js , 'var eventData' gets the interactions Params, including the type and connection state:
onClientEvent: function (component, message, helper) {
-
var eventData = message.getParams();*
-
if (eventData) {*
-
var message = JSON.stringify(eventData);*
-
helper.outputToConsole(component, message);*
-
if(eventData.type === 'Interaction' && eventData.data.id) {*
-
component.set("v.interactionId", eventData.data.id );*
-
}*
-
}*
- },*
EventData is able to get just few 'standard' information.
Is there a way to pass custom Participant Data I setup in the flow, inside this Salesforce structure?
Thank you in advance.
Best regards,
Benedetto Corona