Updating a datagrid from a microflow

2
In a form I have a datagrid and a dataview. Based on selections in the dataview and pressing a microflow I want to update the datagrid. How to update the datagrid in the same form ?
asked
2 answers
2

I believe calling a refresh on the entity of the list in a java action would do.

this.addRefreshClass(this.RefreshObject.getType());

All you need is an object of the entity of the datagrid.

answered
2

One option is to keep a separate object that has a reference to the object that's in the datagrid. The microflow that you're calling can then adjust the referenceset and commit with "refresh in client". Add the datagrid to a new dataview with the "hidden object" and set xpath constraint to the relation.

Not very pretty but it should work.

answered