I need to refresh the section before it appears.
Section contains cases. When you click on the table element, you launch the case. At the end of the case, a section with cases is shown, but the data inside is not updated. How to refresh a section you are going to after completing the assignment in another case.
"I need to refresh the section before it appears."
That is kind of the definition of a how section appears (ignoring client side visible when conditions for the moment). It is effectively being refreshed prior to appearing. So I am not quite following the problem statement.
It sounds like the section was first displayed once.
You updated data behind the scenes, and you want to refresh it one more time so that the data being displayed is not stale?
If so, that make more sense and there are a few options you can explore.
Dynamic Layouts and sections do support refresh when conditions.
Also, if you know a certain action is going to potentially change data for an associated section you can append an additional refresh section action after your other events.