Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Workflow loop

  Asked By: Audrey    Date: Oct 20    Category: Sharepoint    Views: 11912

I'm having an issue with an unusual workflow loop.

I have a workflow set to watch for when an item changes. All it is supposed to
do is send an e-mail when a list item changes, but for some reason something in
the workflow is changing the list item so I get the unfortuante workflow loop
that sends the same e-mail repeatedly. I thought to add some type of redundancy
check, but I don't know what to check, since I'm not actually changing any thing
in the list that I was aware of. I have included the call to stop the workflow
in the workflow and left it out and neither seems to have much impact. I'm
really baffled by this one and I'm not sure where to go next. Has anyone else
run across this?

Share: 

 

7 Answers Found

 
Answer #1    Answered By: Roxanna Hendricks     Answered On: Oct 20

I've never seen this happen when you send  an email.

What if you blow away the workflow  and create it again? It sounds like a
simple enough operation so it shouldn't take long to rewrite; if you see the
same problem again, then we'll know something is actually wrong with your
code.

 
Answer #2    Answered By: Stacia Guy     Answered On: Oct 20

Any chance you accidentally left  a compare in your code with a sing "=" instead
of a "=="?

 
Answer #3    Answered By: Kacy Bright     Answered On: Oct 20

I did it with SPD, and have blown it away and recreated it multiple times, in
multiple different fashions.

 
Answer #4    Answered By: Ivette Burris     Answered On: Oct 20

Have you triple checked that no other workflow  is running that
touches that list?
This workflow might not be the one at fault.

 
Answer #5    Answered By: Kaitlyn Clark     Answered On: Oct 20

That's actually what it turned out to be. I had quite a few complex things
going on between this list  and another list, and to keep it all straight in my
head, I had separate workflows. I have since compressed it into one workflow  per
list and that solved the problem. A message that a workflow was successful
counts as a change to a list item, so I wound up having two workflows bounce
back and forth. If I knew a little more about some of the more complex features
of MOSS, like XSL and the like, I would like to change the FAB40 help desk
template to keep service requests in the tasks list, instead of in a separate
list. Just makes more sense to me that way. But I'm not sure how to get it
right.

 
Answer #6    Answered By: Latanya Nieves     Answered On: Oct 20

I have actually redone the helpdesk from scratch after seeing the way
the template was set  up. I view the templates as suggestions for how
things can be, and then using the good features I noticed, I design what
suits my organization the best. I think it is actually faster than
trying to get the templates work for us.

That is the same way I view cookbooks, as suggestions to get the
creative juices flowing. You get great results and it is easier than you
think.

 
Answer #7    Answered By: Vidisha Pathak     Answered On: Oct 20

I would probably do something like that, but I would need to know how to edit
the few webparts that are on the pages in the "applications pages" library so
that they still work also. That's one of the things that I didn't want to lose,
and I don't know how to code them from scratch.

 
Didn't find what you were looking for? Find more on Workflow loop Or get search suggestion and latest updates.




Tagged: