How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask Michael Hannigan Your Own Question
Michael Hannigan
Michael Hannigan, Consultant
Category: Programming
Satisfied Customers: 11580
Experience:  25+ Years Experience in Field. Multi Platform Developer.
23511658
Type Your Programming Question Here...
Michael Hannigan is online now
A new question is answered every 9 seconds

I need help with sharepoint designer. Help

Customer Question

I need help with sharepoint designer. Help
Submitted: 1 year ago.
Category: Programming
Expert:  Michael Hannigan replied 1 year ago.
Hello. My name is***** can help you with your question. Can you provide more detail on what kind of help you need?
Customer: replied 1 year ago.
I have attached the files below. I cannot get the workflow to go past the first stage I am not sure what I am doing wrong. I also attached the calc fields that I had done in the sharepoint list. I need this done asap if you can help.http://wikisend.com/download/344048/Inf0pathIssues.zip
Customer: replied 1 year ago.
Every time the form is rejected in each stage it needs to be emailed back to the author then once it is approved it goes back through the workflow
Customer: replied 1 year ago.

Soory I attached the wrong designer code

Stage:Email User Comment: User Notified

Email Current Item:Created By

Transition to stage Go to Supervisor Review

Stage:Supervisor Review

Email Current Item:Supervisor

Wait for SupCalc to equal 1

Transition to stage

If Current Item:SupervisorApprove equals Approve

Go to Subject Area Expert Review

Else Go to Email Author

Stage:Subject Area Expert Review

Email Current Item:SubjectAreaExpert

Wait for SubjectAreaExpertCalc to equal 1

Transition to stage

If Current Item:SubectAreaExpertApprove equals Approve

Go to IP Review

Else Go to Email Author

Stage:IP Review

Comment: Emailed Ip for reiew

Email Current Item:IP

Wait for IPCalc to equal 1

Transition to stage

If Current Item:

IPApprove equals Approve

Go to Completed Workflow

Else Go to Email Author

Stage:Email Author

Comment: Form Rejected

Email Current Item:Main Authors

Transition to stage Go to Completed Workflow

Stage:Completed Workflow

Comment: Workflow Complete Transition to stage

Go to End of Workflow

THIS DOES CHANGE SUPCALC TO ONE AND EMAILS SUPERVISOR BUT GOES NO FURTHER WHEN i GO IN AND APPROVE

Expert:  Michael Hannigan replied 1 year ago.
Thank you for getting the code to me.
We'll start with what I see immediately. I suspect you do have this correct in practice, but I just want to make sure –
Transition to stage Go to Supervisor Review
You do have a line break their correct?
Customer: replied 1 year ago.
Himmmm how do u enter line break
Expert:  Michael Hannigan replied 1 year ago.
Just with a shift+enter.
Customer: replied 1 year ago.

it goes to the next stage

Customer: replied 1 year ago.
Expert:  Michael Hannigan replied 1 year ago.
Is that what you were trying to fix?
Customer: replied 1 year ago.

Okay so what is happening is it is going for supervior review and sending the email to the supervisor. But than when I approve it changs the supcalc to 1 but goes no further not sre what is going on.

Customer: replied 1 year ago.

http://wikisend.com/download/370106/Stages2.docx

I screen shot all stages so you can see

Expert:  Michael Hannigan replied 1 year ago.
Is this the same thing that was happening before you made that change, or is the behavior different now?
Customer: replied 1 year ago.

what change? You mean the code is sent you orginaly? That was just an error

Expert:  Michael Hannigan replied 1 year ago.
And it should go to Subject Area Expert Review after that, correct?
Customer: replied 1 year ago.

yes

Customer: replied 1 year ago.

Find anything wrong yet?

Expert:  Michael Hannigan replied 1 year ago.
Not with the workflow - no.
But based on what you are seeing, it can only be one of two things.
SuperviserApprove equals Approve is not being set to true.
Actually that's it. Because if it made it to the next stage it would email the subject expert. Can you take out the if/else statement temporarily to see if it passes it through to the next stage?
Customer: replied 1 year ago.

removed if else and still does not go

Customer: replied 1 year ago.

could it possibly be something in the form? I am so frustrated it had a deadline of today

Expert:  Michael Hannigan replied 1 year ago.
That's very strange. So it's not even getting hung up to there. If there is nothing other than go to commands after the transition into, then there's no reason why it wouldn't work. How realistic is it for you to whip up the quick basic form just with the first couple of steps. It can be totally ugly, just so we can test that theory of whether or not it's something in the form.
Customer: replied 1 year ago.
I had to log off for a bit I'll be back on in a while
Expert:  Michael Hannigan replied 1 year ago.
Okay. I will be here. If I'm not online, I'm not usually far away from being online. I work from home so I'm available just about 24 hours a day. I'll help you get it working. Technically your deadline doesn't end until midnight, correct?
Customer: replied 1 year ago.
It just got changed to Monday
Expert:  Michael Hannigan replied 1 year ago.
Okay, that's good in a way. As a long as it doesn't mean you end up working all weekend. We'll see if we can avoid that.
Expert:  Michael Hannigan replied 1 year ago.
Okay, that's good in a way. As a long as it doesn't mean you end up working all weekend. We'll see if we can avoid that.
Customer: replied 1 year ago.
I'm sure I will been stuck on this for two days
Expert:  Michael Hannigan replied 1 year ago.
After a couple of days matter how much you look at it it's tough to see something different.
Customer: replied 1 year ago.
Sorry been so long I have determained it is defiantly the calc field. Just not sure why? Any clues
Expert:  Michael Hannigan replied 1 year ago.
You had mentioned that the supcalc variable does get set to 1. Is that still the case?
Customer: replied 1 year ago.
Yes that's why I don't get it.
Expert:  Michael Hannigan replied 1 year ago.
So, it would have to be in the Supervisor Approve equals Approve.
Expert:  Michael Hannigan replied 1 year ago.
But you should at least get a rejected back, right?
Customer: replied 1 year ago.
No after email sent to supervisor for approval nothing works
Expert:  Michael Hannigan replied 1 year ago.
So, SupCalc never gets set to 1?
Customer: replied 1 year ago.
Yes if I go in to approve supcalc goes to one but does not move to subject area expert. Or if I reject it does not move to author
Expert:  Michael Hannigan replied 1 year ago.
And you already tried removing the if/else and replacing with a goto and it still didn't proceed if I remember correctly.
Customer: replied 1 year ago.
That's correct
Expert:  Michael Hannigan replied 1 year ago.
Are you using 2010 or 2013?
Customer: replied 1 year ago.
2013
Expert:  Michael Hannigan replied 1 year ago.
I think if you use parallel blocks it will correct this. Have you use them before?
Customer: replied 1 year ago.
Just messed with them a little today not much
Expert:  Michael Hannigan replied 1 year ago.
Basically you have a parent stage, and then under that you put one or more steps with a wait for... each of them with a value likeStage Step1 wait for Approved to equal Rejected Step2 wait for Approved to equal ApprovedThen whichever one becomes true, the actions in that step will be performed.
Customer: replied 1 year ago.
Is there any way u can send like and example screen shot
Expert:  Michael Hannigan replied 1 year ago.
The reason for this is changes made between 2010 and 2013. Both ways should work, but I have seen the old way not work.
Customer: replied 1 year ago.
So weird okay let me try that
Expert:  Michael Hannigan replied 1 year ago.
OK.
Customer: replied 1 year ago.

Okay so I had someone in house take a look and it is the supcal field. I removed this. now if approved all will work okay. But of course if rejected is selected it does not see that. This is my code any sugestions?

Stage:Supervisor Approval

If Current Item:SupervisorApprove equals Reject

Email Current Item:Main Authors

Wait for SupervisorApprove to equal Approve

Email Current Item:SubjectAreaExpert

Transition to stage

Go to SubjectAreaExpert Approval

Stage:SubjectAreaExpert Approval

If Current Item:SubectAreaExpertApprove equals Reject

Email Current Item:Main Authors

Wait for SubectAreaExpertApprove to equal Approve

Email Current Item:IP

Transition to stage

Go to IP Approval

Expert:  Michael Hannigan replied 1 year ago.
Yes, this would be expected.... but in 2013, particularly with removing that part, you must use parallel blocks.
This way, you are waiting for both possibilities - approve/reject and the workflow will follow the path depending on whether it is approved or rejected - the other path just gets left alone.
Mike