Cannot get column value in business process

 

 

Terrasoft.Common.InvalidObjectStateException: Column FxdChatRefId value cannot be obtained because it has not been loaded.

   at Terrasoft.Core.Entities.EntityColumnValue.get_Value()

   at Terrasoft.Core.Entities.Entity.GetTypedColumnValue[TResult](String valueName)

   at Terrasoft.Configuration.FxdChatDepartment.get_FxdChatRefId()

   at Terrasoft.Core.Process.FxdChatProcessAutoIntegrationAddOrUpdateChatDepartmentMethodsWrapper.ScriptTask1Execute(ProcessExecutingContext context)

   at Terrasoft.Core.Process.ProcessScriptTask.InternalExecute(ProcessExecutingContext context)

   at Terrasoft.Core.Process.ProcessFlowElement.Execute(ProcessExecutingContext context)

 

I used to version "7.15.0.634", i don't understand the root cause.

 

Like 0

Like

1 comments

Hello Thanh, 



Please try to use "department.GetColumnValue("FxdChatRefId")" instead of "department.FxdChatRefId"

If it doesn't help, please replace "FetchPrimaryColumnFromDB" with "FetchFromDB".



Kind regards,

Roman

Show all comments