I do have a process model with start form. All my buttons are set to "Submit: true" but for some reasons not always buttons not redirect user back to record view. I do have enable chaining between all the nodes. None of the sub process is run as async process. Enable chaining is also enabled between all nodes in sub processes.
I'm using Appian version 20.1
Discussion posts and replies are publicly visible
Are you related actions opening in dialogs or below the header? If you have them open in dialogs you can guarantee that you still stay on the record view.
Process is start as a!startProcessLink() from record list from ID column. It is not dialog. Based on documentation at the end it should go back to record list.
I'm generating documents for each process/sub process to make sure that chaining is enabled but still cant find a reason. I have also relogin to Appian and clear chrome cookies.
a!startProcessLink() always redirects to the previous URL. If you are launching it from the record list that is what it will return to. I recommend creating related actions for your record and using a!recordActionField() instead so that you can open the same action in a dialog and when you click submit the dialog will close once the chain breaks.
It has not helped at all. I don't want to have a dialog but even when we used recordactionfiled as suggested user is not redirected to previous page.
I have simplified sub processes and it has not helped as well.
I have noticed one thing which I don't know how to address - this is Chrome developer console error:
Invalid 'X-Frame-Options' header encountered when loading 'https://server:8000/': 'ALLOW-FROM https://appian-dev.aaaa.net' is not a recognized directive. The header will be ignored.