If we implement authenticated web messaging, and wanted to pass for example accountID to agent, is there a predefined variable that we can use instead of setting the Participant data (Genesys("command", "Database.set") )? Authenticated web messaging attributes - Genesys Cloud Resource Center shows only 4 attributes, but maybe one can be utilized?
When I use Database.set command, and use custom button with Messenger.open command, I have an issue. It looks like sometimes I don't get the values passed to the Inbound message flow, like Database.set action did not finish before messenger flow started.
Is there a way to make sure Database.set is executed before we call Messenger.open command?
I am attaching the img as an example (without the sensitive data)
GC can automatically capture the unique ID of customer as provided by your ID provider: that is exposed via the sub claim, and available in the Message.Message.senderAddressInfo.addressDisplayable built-in variable. So, if your AccountID can be provided in the sub claim, that's automatically exposed.
The other option of using Database.set is also valid, and available regardless of Authentication: if you notice misbehavior, please raise a ticket with Customer Care. In your example, I would simply trigger Database.set prior to Messenger.open command.
Thank you, this has solved the issue.
I also had another question, although this is not an appropriate thread
I wanted to confirm if data session can be removed with localStorage.removeItem("_actmu")?
Is there any additional method that we can use?
Edit: Is it valid to use this command: Genesys("command", "MessagingService.clearSession");