Is it possible to refresh workspace in ui builder based on flow?

Dotychczas
Mega Guru

Hello Experts!

 

I want to refresh some components in workspace after flow finish running. Is it possible to set up this kind of behavior?


Kind Regards

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Unfortunately @Dotychczas  i don't think that's possible.

 

View solution in original post

3 REPLIES 3

Community Alums
Not applicable

Hi @Dotychczas ,

urrently, the only way to programmatically refresh a list component is to bind a client state parameter to the component and pass the client state parameter a timestamp that tells the list when it should refresh (usually just the current time). The oob list page already has this setup so I think you could achieve what you're looking for by doing something like:

  1. Clone the list page to a new variant
  2. Add an optional parameter to the list page for the page refresh
  3. Bind the optional page parameter to the listRefresh client state parameter
  4. On your form page, using whatever event needs to trigger the refresh, route the user back to the list page and pass the current datetime into your optional parameter on the list page. It shuold cause the list to refresh.

I already have described solution in place. Main goal now is to trigger it in flow designer. I have flow that is being fired from ui builder button and now I want ui builder to wait until all the updates are completed in flow and refresh lists to show current data.

Community Alums
Not applicable

Unfortunately @Dotychczas  i don't think that's possible.