Refresh site page when process ends

Hello,

Is there a way to refresh the site page after the end of a process ?

This is my business case :

I have a custom field on my Appin users that contains the value "Available" or "Not Available".

  • If the connected user is "Available", I would like to have the Navigation Bar Background Color to be Green.
  • If the connected user is "Not Available", I would like it to be Red.
  • I configured this test in the site. It works fine.

I have a process with user forms  that changes the value of my custom field. "Avaible" to "Not Available " and "Not Available" to "Avaible".

When I execute the process, the value is well changed but the color stays the same. I have to manually refresh the page to see it changing.

Is there a functionnality that I missed or a workaround ?

Thanks for your helps !

  Discussion posts and replies are publicly visible

Parents
  • Mike's suggestion is probably the way to go. What happens when the process chaining is broken is that in effect you get a 'race condition' where Appian is both returning the User to the place where they started the process, and also running the process. If the User is returned (and the page is refreshed) before the process completes any update to the database then you'll see the old data.

Reply
  • Mike's suggestion is probably the way to go. What happens when the process chaining is broken is that in effect you get a 'race condition' where Appian is both returning the User to the place where they started the process, and also running the process. If the User is returned (and the page is refreshed) before the process completes any update to the database then you'll see the old data.

Children
  • If I understand well, a way to solve my issue could be to had a waiting periode in my process after the updating phase to assure that the is well realised.

    I tried it by adding a form and waiting few seconds before clicking on submit button (to continue/end the process) but it doesn' t solve my problem.

    I think my main issue is not the 'race' between update and end of process but about the fact that the return to the initial place at the end of the process doesn't reload the page (I don't see animation, progress bar completing or thing like that saying there is a reload). So my color condition on this page is not re-evaluated. (It is when I reload the page

    Are my details clear enough ?

    Thank you both for your answers