The type or namespace name 'MsgChannelUtilities' does not exist in the namespace 'Terrasoft.Configuration' (are you missing an assembly reference?)

Hi all,

I've tried to send a message from business process to frontend (freedom ui). However, every time got an error "The type or namespace name 'MsgChannelUtilities' does not exist in the namespace 'Terrasoft.Configuration' (are you missing an assembly reference?)".

I tried in different ways:

var userConnection = Get("UserConnection");

Terrasoft.Configuration.MsgChannelUtilities.PostMessage(userConnection, message, UserConnection.CurrentUser.Id);

AND

Terrasoft.Configuration.MsgChannelUtilities.PostMessageToAll(message, UserConnection.CurrentUser.Id);

AND ALSO

MsgChannelUtilities.PostMessage(userConnection, message, UserConnection.CurrentUser.Id);

I added usings Terrasoft.Configuration and Terrasoft.Configuration.MsgChannelUtilities to my BP but still, it doesn't work.

I found this issue in CRM trial version 8.1.1.3635.

Does anyone have any suggestions? Maybe there are some other ways to send and process the message?

 

Like 0

Like

2 comments

Hello,

 

Indeed, in this case, it is necessary to redesign the processes so that they are interpreted rather than compiled.

 

https://academy.creatio.com/docs/8.x/no-code-customization/bpm-tools/pr…

Kalymbet Anastasia,

Hello,

Thanks for your answer. Would you be so kind as to give me any recommendations about how I can notify frontend from backend without using messages?

Show all comments