Browser refresh starts a new process instance

Hello everone,

We have a process with an user interface. User is filling some information and saving the form. After this user is changing the locale setting and wish to see the form in new language and doing browser refresh to see the form in newly selected language. The issue is on browser refresh, the current process instance is abandoned and a new process instance starts, making all saved information disappear.

Please advice if there is any way to stay on same process after browser refresh.

Thanks,

Priyanka

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    Hi,

    To resolve the issue of a new process instance starting with each browser refresh in Appian, consider implementing a few strategic changes. First, ensure that all user inputs are saved using Appian records or data stores, which allows the form to reload existing data after a refresh. Additionally, modify the process design to include a checkpoint at the start that checks for previously saved data, enabling the process to continue from that point rather than restarting. On the client side, utilize JavaScript to handle changes dynamically, such as locale adjustments, without needing a full page refresh by leveraging Appian's Web API. This integrated approach will help maintain session continuity and improve user experience in complex workflows.

  • 0
    Certified Lead Developer
    in reply to Srinivas

    Would you mind pointing out that you got this from ChatGPT !?!

    There is no JavaScript in Appian!

  • 0
    Certified Senior Developer
    in reply to Stefan Helzle

    Absolutely, you're right that JavaScript isn't used in Appian-------. What I meant was to suggest a method within Appian’s own capabilities, using its interface components and logic functions, to achieve similar behavior. Thanks for catching that, and I appreciate your vigilance in maintaining accurate discussions here.

Reply Children
No Data