Custom Attributes Can't be Read in the UI After Set Participant Data Block Action

Hello everyone,

When I set any custom attribute in the UI code with the following command,
Genesys("command", "Database.set", { messaging: { customAttributes: { key: 'value' } } });

The "Database.updated" event is triggered immediately which I was subscribed with that statement,
Genesys("subscribe", "Database.updated", function(e)
{
console.log(e.data);
});

And I can also successfully read that custom attribute in the Incoming Message Flow with Get Participant Data block.

When I set any custom attribute with Set Participant Data block in the same Incoming Message Flow, I also expect that attribute to be read in the UI and also the "Database.updated" event is to be triggered.
However, neither the Database.updated event is triggered nor that custom attribute changes can be read in the UI with the following command,
Genesys("command", "Database.get", { name: "messaging.customAttributes" }, function (e) {
console.log(e)
});

Can you please help me what is wrong with that, how can I get these custom attribute changes in the UI?

Regards,

Indeed @ugur.bayramoglu the Guest Session only allows to capture Custom Attributes on the inbound direction: these are then propagated into the platform as Participant Data. The opposite transformation is not supported.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.