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.
Any chance you could provide some sort of screenshot of what's actually happening? I'm still not really clear what you're expecting the user to experience, much less what you're *actually* experiencing currently. You've said multiple times that the user isn't getting redirected "back to record view" but I still can't figure out what's happening instead, which is the absolute minimum we'd need to even make a guess as to why.
There is no much to show. User from record view is redirected to process model with start form. There are buttons on this form and some of them are submit buttons. Once user click on button i can see that small progress bar is running on the top then there is small popup from Appian as action completed but then user is not redirected back to record view. Process model is finished without error.
Furman said:there is small popup from Appian as action completed but then user is not redirected back to record view.
so.... what does the user see after this? Are they stuck on that form? Are they popping back to the start form? Does their monitor go completely blank?
They remain on that form. They stuck there. They are not redirected back.
This is not happening all the time which is weird. Clearing cookies, relogging to Appian does not help.
It sounds to be that the form is not submitting in these situations, potentially due to validation errors, etc. In all my tests with a!startProcessLink (and just ran another with a Start Form process), all works correctly by redirecting back to wherever the link resides.
Are you able to replicate this behavior?
Otherwise you may have to wait until a user reports this, then verify their process instance with Monitor mode to see if it actually submitted.
process start as i can see it on monitoring so i assume there are no validations issues.
Is there any way to debug process model from backend? In other words can our IT Appian admin see something more that i can see from on monitoring screen?