Hi All,
I have a 2 stage workflow here is my scenario:
1- Submitter opens a form and fills out a three texbox and submits the form for the approval (initiates a workflow)
2- Approver opens the form and just approves or rejects the form. After this step (regardless of approval or reject) the form is recorded on an SP Library.
I use the browser (internet explorer 7.0) all the time not infopath.
My problem is on submitting the forms.
The toolbar should not appear on the page. Instead, I created buttons on the form for submission. Initial submitter submits the form without any problem. When it comes to the aprrover, the page is opened ok, but when the approver clicks on the approve or the reject buttons I created on the page it gives me an error: “Some rules were not applied. An error occurred while the form was being submitted.”
I changed many configurations but neither of them worked fine.
In the approval stage my customized buttons have three rules on each.
· First updates a dataSection on the form. (This data section is the task action field where the action name is located)
· Then submits the form. (To the same web Service as the initial submitter submits) (Initial Submitters customized button works by the way)
· And then closes the form.
When I press the Submit button on the toolbar (although it should not appear on the page, I made it appear for test purposes), it works fine but the customized buttons does not work at all.
Here is the content of the pop-up page when an accept or reject button is clicked on the page:
Some rules were not applied.
Click Continue to resume filling out the form. You may want to check your form data for errors.
Click Start Over to load a new copy of the form.
---------------------------Hide error details-----------------------
An error occurred while the form was being submitted.
Any Ideas?