Hello,
I’m currently working on integrating a custom chat provider in Creatio, following the official documentation. I’ve successfully configured the incoming message handling, which is working as expected.
However, I’m facing an issue when trying to send messages from Creatio to the custom provider.
Initially, I encountered an error when attempting to use the chat module for sending messages. I resolved this by explicitly binding the IOutcomeMessageWorker interface to my custom implementation using the "ThirdParty" key, as shown below:
protected void BindInterfaces() { ClassFactory.Bind<IAttachmentsLoadWorker, TestAttachmentLoadWorker>("Test"); ClassFactory.Bind<IProfileDataProvider, TestProfileDataProvider>("Test"); ClassFactory.Bind<IOutcomeMessageWorker, TestOutcomeMessageWorker>("ThirdParty"); ClassFactory.Bind<IOperatorRoutingRule, TestOperatorRoutingRule>("TestRule"); }
After this change, the error disappeared and messages are now being saved in Creatio. However, it appears that the messages are not being sent to my custom worker (TestOutcomeMessageWorker), as I don’t see any logs or server-side activity indicating that the worker is being triggered.
Could someone please guide me on how to ensure that outgoing messages are properly routed to the custom worker? Am I missing any configuration or message routing logic?
I am using online instance.
Could it be issue of mismatch of MsgSettingsId ? I am not sure how to access the SQL tables as I am using Online Instance.
Thanks in advance for your support!
Like