The Now Platform® Washington DC release is live. Watch now!
on 08-22-2017 11:03 AM
Hello,
I am using the fillowing script to save the info received from the bot.
sendMessage: function(groupId, message, text, httpStatus, responseObj, msgSource, parameters) {
var botId = "c348562a0fd557c0d15605cce1050e92";
var msg = new GlideRecord('live_message');
msg.initialize();
msg.message = message.toString();
msg.group = groupId;
msg.chat_message = true;
msg.has_links = true;
msg.profile = botId;
msg.reflected_field = "comments";
msg.insert();
//new SNC.LiveFeedApi().addMessage(message, groupId, "" ,false , botId);
new global.GlideLiveMessageBroadcasterWrapper().broadcastFromRecord(msg);
},
The problem is that the Bot Conversation is not being saved on the table:
https://instancename.service-now.com/chat_queue_entry_list.do
Just the end user conversation is saved. Do you know why?
Regards,