Repeater does not get updated when Data Provider is refreshed #13471
-
Hi folks, Here's what I've done so far: As an on-click action of the Save button, the Data Provider should first be refreshed, and then using Continue-if/Stop-if function calling the Repeater, it should be checked whether the entry has been blocked in the meantime. The problem is that although the Data Provider is refreshed, the Repeater still returns the old value (i.e., before the Data Provider was refreshed). That means that even if the entry has been blocked in the meantime, the row gets saved. Has anyone else encountered this issue? Or do you have a workaround for this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey @JohnM053. I think the issue here is that the "refresh data provider" action is not synchronous, so your following actions will continue before the refresh is actually completed. We could potentially add a new option to that action, so that you can choose if you want to wait for the data to be refreshed or not. Feel free to open a feature request for this if that sounds like something you'd be interested in. There are 2 other solutions that come to mind, but both are paid features:
|
Beta Was this translation helpful? Give feedback.
-
I've closed the issue and we can handle this in discussions here. |
Beta Was this translation helpful? Give feedback.
Hey @JohnM053.
I think the issue here is that the "refresh data provider" action is not synchronous, so your following actions will continue before the refresh is actually completed. We could potentially add a new option to that action, so that you can choose if you want to wait for the data to be refreshed or not. Feel free to open a feature request for this if that sounds like something you'd be interested in.
There are 2 other solutions that come to mind, but both are paid features: