Calendar Data source does not update/evaluate due to Pause Render

Hi,

I have an action where the user navigating a calendar in time. I show data per week in the calendar and as such i want the calendar to not update until everything is set up, ie pause render.

Pause Render causes the Calendar data source to not evaluate until the pause render is finished, even though the variable to/from date has been set.

If it turn Pause Render off everything works as expected. A calendar source should not be linked to Pause Render in my mind.

Wrapper action

Pause render action

Looks like this in the UI as the value holders are not there yet while action is running

Best Regards
Sondre

Hi Sondre, and thanks for reaching out to the community!

This sounds like expected behaviour. The intent of Pause Render is to prevent the UI from flickering or partially updating mid-action, and Calendar data sources fall within that scope because they are runtime data sources with app variables storing the To and From dates, and driven by the same evaluation cycle as the rest of the UI. Since Pause Render holds back all updates, the calendar will not re-evaluate until the action completes and rendering resumes.

As a workaround for your use case, you could:

  • Implement a visual loader in the UI while the action runs
  • Use “Skip Render” (if applicable) for specific action nodes rather than pausing the entire render cycle

Hm, it was surprising to me that it was not evaluated based on data while the UI rendering was paused. You can change other data sources while pause render is on right?

Anyway fair enough!

Best regards
Sondre