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
Sure. I assume you added a process as a page in a site. This process does not use a start form but has a initial chained user input task. Correct?
If yes, get rid of that initial UIT and use the start form feature.
We have a main process which calls the sub-process where this chained UIT is called after many node with data manupulations. Changing this UIT to start form would be tricky.
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.
I am trying to understand that why user is changing the language after adding half of the information in the form. Should it not have been done before starting the process?
In my opinion it can be part of user training. Explain them to change the locale before starting any instance.
Would you mind pointing out that you got this from ChatGPT !?!
There is no JavaScript in Appian!
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.
Long story short, they should not be using "browser refresh" by any means within a process flow, and need to be educated as such.