Hi,
Can you Give some options on reloading the site or refreshing the pages. I wanted to bring back the customer back to parent screen upon submission and start a new request. there are many local variables to be refreshed hence wanted a know if there is a quick way to reload the site which can set the pages to default values.
Discussion posts and replies are publicly visible
Would need more details or examples of what you are trying to do. But based on the very limited information, the simplest way to reload an interface after a submission is via a Record Action.
HI kowsalyavijayan ,
You can refresh the local variables data with refreshOnVarChange by changing that particular local variable the data in the locals gets refreshed.
To refresh the site based on button action you need to perform some action without action AFAIK we can't refresh the site.
Hello kowsalyavijayan My first question would be are you using any Record Actions or StartProcessLink?
kowsalyavijayan said:I wanted to bring back the customer back to parent screen upon submission and start a new request
Based on your question I would assume you are using startProcessLink. Try using a record action instead, would resolve your issue mostly.
Also May be you can provide me more information so that If I am wrong, someone would come up with a precise answer.
The direct answer to your question is to use urlForSite() function. Using that, you will be able to provide the user a link to navigate to a site page directly.
Check this blog of mine for a complete understanding - appianspace.com/.../
Depending on what "the pages" is, you have plenty of options. Regarding local variables, you could just use a list of a!save() to reset these to their initial state.
I am using Start process on submit button, but it returns back to the submit screen and not to the parent screen.
I tried both a!refreshvaraibles and a!save(), but the problem is I am not able to reset the child interface. One of the section is using child child interface. Also,I am using is having a milestone , where the user needs to fill in the step by step. and upon submit, he has to return back to the step1, to start a new request.
I tried this but it reloads the site in the next tab and not in the same tab in the browser
Just use a safe link with openLinkIn set to "SAME_TAB"
https://docs.appian.com/suite/help/23.4/Web_Link_Component.html
I think it would be really helpful if you share your Interface code and let all of us understand better. Because we all are still guessing here.