PostGre SQL Data fetching issue

Hi All,

We have a Postgre SQL DB connected to Appian system, and we are trying to fetching the data from respective table.

i created CDT, entity mapping verified & Data store published successfully. In Rule Expression, when we tried the query entity for this DSE, we are getting below error. 

Expression evaluation error at function a!queryEntity: An error occurred while retrieving the data. Details: Unexpected error executing query (type: [AAFAssetDT2555], query: [queryentity expression], order by: [[Sort[assetpreviousstatus asc]]], filters:[null])

could you please suggest me to resolve the issue.

  Discussion posts and replies are publicly visible