Is there a way to force a page refresh after changing a Subform via Workflow / Function?

Is there a way to force a page refresh after changing a Subform via Workflow / Function?

I have a workflow which triggers a function, and in this function i am changing the values of a certain subform. The changed are only visibile when i manually refresh the page and this is a no-no for my use-case.

When other workflows, that change certain fields, are triggered the changed are seen immediately, is there a way of having that for subfroms ?


this didnt help me at all. Any suggestions to solve this problem?