I apologize in advance, this one’s going to be long.
So, I was tasked with re-engineering our SharePoint 2010 Supply
Request Order Form. The way it is set up currently, someone submits and order,
it goes to the designated approver, based on the finance account it comes out
of. If it is approved at that level, it goes to one of two approvers based on
if it is being funded by a grant or not. The way the approval process works currently
is that it sends the approver an email. Inside the email are two links. The
first one takes them to the submitted form so they can review it. They close
out that browser, and then click the other link, which opens an Accept/Reject
SP form. This is highly inefficient, and one of the reasons I was tasked with fixing
it.
I got so frustrated that I purchased Darvish Shadravan and Laura Rogers’ book with my own money, Step
by Step – Using Microsoft InfoPath 2010 with Microsoft SharePoint 2010. It’s
been extremely helpful. In chapter 11, it shows how to create a form where the
approval process takes place in the form itself, with minimal SharePoint Designer
workflow usage. Obviously, my form isn’t identical to the example used in the
book, but I created all the rules and workflow they did, modifying where needed.
Firstly, almost every time I open the form, I get a warning
error message. If I were to open the form 10 times, I’d probably get the
warning 6-7 times. It’s always about an error occurring when trying to connect
to a Web service. The only connection I have of that type is the
GetUserProfileByName. Most of the time it’s one warning, sometimes it’s two.
The second issue I’m having is that when I submit a form as
a test run, in the SP Library it automatically shows as “completed” before I
even get the first approval level email. Not sure what’s going on there.
The third issue is I’ll get the first level approval email.
I click on it, and it takes me to the form for approval as it should. I approve
and click the submit button. I get the second level approval email. I click on
it, and it takes me to the original state of the form, but this time at the
bottom the filename field is filled out, which doesn’t happen until the initial
request is submitted.
I’ve worked on this for the better part of 3 weeks now. I’ve
followed so many Google rabbit holes that my eyes are nearly bleeding. I’ve changed rule
and workflow parameters, recreated the form in a different configuration, ect.
I’m ready to pull my hair out at this point. I’ve reached out to our SP server
farm admins, but with specific regards to SP, I know more than they do. They’re
just network people.
If anyone can offer ANY advice, help, well wishes, positive
vibes, I’d be very grateful.
For clarity, here’s the procedure of the form (the way it
should work):
-
Open form. Click one of 5 checkboxes to unhide the section of the vendor you wish to order from.
Enter the information in for the supplies you wish to order.
Choose which financial account this is pulling from, which auto-populates the first level approver info via rules I created. Form load rules sets the view to the first level approver view.
Submit form
Email is sent to first level approver. They review the form and either approve or reject. Comments can be entered if desired, and an approver name and timestamp is auto-populated when the form is submitted. If approved and it is coming from a grant, a rule sets it to be sent to one specific second level approver. If it isn’t a grant, it’s sent to the other specific second level approver. Form load rules sets the view to the second level approver view.
Email is sent to the specific second level approver. They review the form and either approve or reject. The previous first level approver info (name and timestamp and comments if any) are there as read-only. They can also add comments, and their info is auto-populated upon clicking the submit button. Form load rules sets the view to the Read Only view.
Thanks in advance for any help. I tried going this alone as
I’m very much a kinesthetic learner, but I’ve reached my limit. We’re supposed
to be upgrading to SP Online or SP 19 sometime between now and June. I can only
hope…