Action is not allowed as it is outside the current transaction
An error occurs on submitting a form.
This action is not allowed as it is outside the current transaction
Steps to Reproduce
1. Configure a section with some properties and button with run script event.
2. In run script, submit the form by using doFormSubmit API.
A software use or operation error:
After clicking button, button was not disabled and multiple clicks were carried out. So multiple requests were sent to server for single action, resulting transaction mismatch error.
Perform the following local-change:
On button click, a busy indicator is displayed which will mask the applicable section. Now user can not perform multiple clicks and it will appear to user that some action is processing at server side.
pega.u.d.busyIndInterval = 0;
pega.u.d.busyIndInterval = 2000;
Published May 21, 2016 - Updated October 8, 2020
Was this useful?
0% found this useful
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.