In the case type, it has a list of optional actions. The user can add a document as an optional action.
Once the user adds the document and clicks submit on the Optional Action's window, it closes the case automatically and launches the Home Page. However, the case remains in the original status (doesn't progress) and the history gets added correctly.
Once the user adds the document and clicks submit on the Optional Action window, the user should be routed to the current primary stage's UI, where the user was working on. It should not close the case.
Is there any approach to fix this? I'm using Pega V8.5.3.