Время создания
Filters

Hello,

I am currently trying to add a custom provider in Creatio by following this document. While the base setup is working, I have encountered a few issues as below:

1. Incoming Message Issue

Description:

  • Messages sent to the custom receive endpoint are not displayed in the chat interface if the Sender field is missing or the sender does not exist in the Contact Identity table.

Sample Payload:
{
   "Recipient": "12345678",
   "Message": "Hello How Are you?",
   "Sender": "1414291595",
   "Timestamp": "0"
}

Questions:

  • If the sender is not recognized or is missing the message is not showing on Chat.
    • Are these messages still stored in Creatio?
    • If so, where (e.g., specific database table, logs, etc.) can we find them?
    • Is there a recommended approach for handling unknown senders?
  • Sometimes even if the senderid is correct, the chatID is showing null (Chat is not created)

2. Outgoing Message Error

Description:

Sending a message from the Creatio chat UI results in the following error:
"Error while sending the message."

Findings:

  • The issue appears to be that the internal method OmnichannelOutcomeMessagingService.SendMessage expects a ChannelName in the payload which seems to be missing when trying to send from Default chat module. This was verified by testing in Postman—adding ChannelName manually in payload allows the message to be sent successfully.

Questions:

  • How can we programmatically include ChannelName in the payload used by the chat component as it is part of a locked file?

Can anyone please guide me with this?
 

Like 0

Like

2 comments
Best reply

Hello,

Regarding part 1:

  1. Yes, if no additional logic that you created prevents messages from saving.
  2. The two main tables are: OmnichannelMessages and OmniChat. OmnichannelMessages  stores information on chat nessages, OmniChat stores messages on chats themselves.
  3. There are none, I also reviewed the logic behind WhatsApp converted and the sender seems to be passed as a phone number there and then identification is performed using the phone number with the replacement of the original value as

message.Sender.Replace("whatsapp:", "")

 

Regarding part 2:

  1. We get ChannelName from the Source. You need to bind worker to one of the values from the list below:

Also this community post may be handy https://community.creatio.com/questions/override-sending-messages-custom-channel-provider-logic

Hello,

Regarding part 1:

  1. Yes, if no additional logic that you created prevents messages from saving.
  2. The two main tables are: OmnichannelMessages and OmniChat. OmnichannelMessages  stores information on chat nessages, OmniChat stores messages on chats themselves.
  3. There are none, I also reviewed the logic behind WhatsApp converted and the sender seems to be passed as a phone number there and then identification is performed using the phone number with the replacement of the original value as

message.Sender.Replace("whatsapp:", "")

 

Regarding part 2:

  1. We get ChannelName from the Source. You need to bind worker to one of the values from the list below:

Also this community post may be handy https://community.creatio.com/questions/override-sending-messages-custom-channel-provider-logic

Hello @Oleg Drobina,

Thanks, I bind the worker with "ThirdParty" and it seems to work now,

I do have another question (perhaps a basic one): I'm working with an online instance, and I'm wondering if it's possible to add a custom channel name to the existing enum list. If so, could you guide me on how to do that?

Thanks again for your help!

Show all comments

Hi Community,

Any idea why I am getting this error executing sql query in creatio using VSCODE?

 

Unexpected token '', "<?xml ver"... is not valid JSON

 

 

Like 1

Like

2 comments

Use "" Like: Select "Id" FROM "Account"

I do wish that Clio Explorer would show the actual error returned.

As for the error, I assume the database is Postgresql, not MSSQL. Postgresql has case sensitive table/column names and must be enclosed in quotes (or they are assumed lower case, which won't match your tables/columns). For example: 

select "Id" from "Account" where "Name" = 'Something'

Ryan

Show all comments

Hi, 

Trying to add pre-defined filter which will list only transaction which were modified in last 10 mins in a Freedom Page. In the setting only Previous hour can be presented -- is there any way to handle this 

 

Thanks 

Like 0

Like

0 comments
Show all comments

Hello,

In my Project's form page, I have two charts that summarize data from a Time Cards object in the form of a bar chart and a column chart. After placing the chart component onto my form page, I had trouble resizing the charts to make them larger. I attached below an image for reference. Any help on how to resize charts would be greatly appreciated. Please let me know if you have any questions or need me to further clarify. 

 

Best,

Shubh

Like 0

Like

2 comments
Best reply

If you drag them taller it will give more room for the chart bars/columns and the text will be more readable.

If you drag them taller it will give more room for the chart bars/columns and the text will be more readable.

Ryan Farley,

Thank you! This worked. I did not see the little square to drag the chart taller before.

Show all comments

Dear,

When starting Creatio we have the following errors :

Classic UI

It seems that Creatio is not finding some language files.

Can these mistakes be corrected ?

Thank you !
Nicolas

Like 0

Like

1 comments

Hello!

Try to change the language of the user to English, recompile the system. Then switch back to French and try to reproduce the error.

Have a nice day!

Show all comments