I have created a form which includes cancel button now I want when user clicks on cancel button it goes to previous page (in my case it is record type).
how should I configure it?
Discussion posts and replies are publicly visible
In Appian a button has no specific behavior on its own. My typical implementation for a "Cancel"-button is like this: Enable submit, write the value "true" to a rule input named "cancel" and then check in process whether the user cancelled. If yes, just end the process. This way the user will return to where he came from. For a related action, this would be the record.
Does this help?
BTW, the search function returns multiple posts on how to do that.
Actually I am using that interface in summary (Record type) so I have not created any process model just called that interface in summary and I have already set the value true but still it's not working
Then we need more details. Let me see, you have an interface which you used as the summary view of a record. Right?
I have created one record type and there is link means when user click on that link he is able to see all the details of that record for that I have created one summary interface .Now I am calling that record type using site and the functionality should be like when user clicks cancel button he goes to previous page(record type page) but in my case when he click cancel button it does not work and when I refresh the page it directly goes to home page .
secondaryButtons: { a!buttonWidget( label: "Cancel", value: true, saveInto: ri!cancel, submit: true, style: "NORMAL", )
This interface is not made to trigger a process which means that you button will not work. A submit button will only work on a process start form or with a user input task in a process.
Just by word it is difficult to understand what is going on. Can you provide some screen shots?