Overview
In your Aurea Process application running on Savvion Business Manager (SBM) 2015 SP1, your application does the following:
- In the onsubmit event, you are creating several ajax submissions and then returns false.
- In the final ajax response you are calling the document.forms[0].submit() method to submit the form.
After submitting the form you discover that the dataslot values on the page are not being saved.
Solution
Diagnosis
The call to document.form[0].submit() does not take care of the required pre-form submission tasks which prevent the dataslots values on the page from being saved.
Solution Steps
Prior to calling the document.form[0].submit(), your application will need to call the sbm.utils.onFormSubmit()method. This method is a pre-submission handler that takes care of saving and setting appropriate values of default fields and dataslots that exist on the form.
Testing
Once this change is made to your application code, the dataslot values on the page will be saved.
Priyanka Bhotika
Comments