Skip to main content
Inspiring
Feb 11, 2021 10:04 AM UTC
Solved

Home Site displays old values

Hi all,

We have a Site based application with a main home page that displays information about processes.

When a process flow ends, then the main home page is displayed. The process is modifying some values that should be displayed in the main home page. However, when the process ends the main home page is displayed with the old values. Only when we refresh the browser the page displays the new values.

The home page is reading the values from the database.

We have verified that the variables are declared inside a a!localVariables() block.

We have also tried to use a!refreshVariable() with no luck.

Does anyone have any idea to automatically load the new values?

stefanhelzle0001
Brainy
Feb 11, 2021 2:05 PM UTC

Make sure that you enable chaining from the start form up to the last write-to-database node. Then, Appian will refresh the interface after this node.

3 replies

mathieud0001
Genius
Feb 11, 2021 1:08 PM UTC

Can you post some code?

stefanhelzle0001
Brainy
Feb 11, 2021 2:05 PM UTC

Make sure that you enable chaining from the start form up to the last write-to-database node. Then, Appian will refresh the interface after this node.

Inspiring
Feb 11, 2021 2:35 PM UTC

Thanks Stefan. We have doubled checked and have found one sub process with no chains... that explains the behavior