List view error releaseResponseObjects

0
Hello,   I have a microflow where I'm creating and returning a list of non-persistable entities to a list view, while debugging i was able to verify that the list was created correctly however in the client it gives me this error:   An error occurred while executing microflow data source for widget Carrinho.CarrinhoPagamento.listView1: releaseResponseObjects is not a function Error: An error occurred while executing microflow data source for widget Carrinho.CarrinhoPagamento.listView1: releaseResponseObjects is not a function at handleDataSourceExecutionError (http://localhost:8080/dist/ymLH28GV-cTjjeA7H.js:4:47) at http://localhost:8080/dist/MicroflowObjectListProperty-nL9Ltcbb.js:54:14   Thanks in advance.
asked
1 answers
0

Hi Gabriel, This error usually happens when you're returning non-persistable entities directly from a microflow to a list view without proper context.

Solution:

  1. Wrap the list view inside a data view that receives a persistable entity (e.g., page parameter or helper object).

  2. Associate the non-persistable entities to that persistable entity.

  3. In your microflow, return the associated list via that context, not directly.

Also, do a clean deployment:

  • Stop app, delete deployment folder, restart the app.

  • Clear browser cache.

If you're using a custom or outdated widget, update or replace it.

 

I hope this one helps you:)

answered