Getting error message "This action is not allowed as it is outside the current transaction" on click of browser refresh.

Hi,

End users get the error message “This action is not allowed as it is outside the current transaction” on click of browser refresh.

They open a case with the case link (URL mapping to open assignment of the case) they get in the email and process the case.

The process is a simple data capture assignment and has custom buttons Back and Next to move back and forth with the attached configurations.

I see that pyStaleTransaction activity is getting triggered, causing this error message.

Is there any way to allow browser refresh without this error?

Or do we have any extension points to customize the behavior?

@SCHANDU

This error usually arises when there are multiple commits happening in the flow. Do you have save/commits happening in the custom Next/Back buttons?

@SCHANDU What activity is used in url mapping to open the case through email and I think after opening the case and with direct refresh of the browser you were seeing the error on the screen right? If yes can you verify in the flow action rule pre processing activity if any commit steps are been added.

Thank you.

@SCHANDU Hey, how did you resolve / bypass this issue ? i have the same problem when creating a case via an URL Mapping. Thank you