Home » SharepointRSS

SharePoint Designer Workflow send mail (body) not reflecting my latest changes

Hi

 

I have found an issue whereby I was happily testing a designer workflow: send  email function on a list ( overriding the default behaviour) yesterday. Later my vPN connection timed out.  Today,  I want to add some styling to the email body. However,  no matter what I do inc removing the entire body of the email.  The actual workflow that is assigned  to the list shows the older  sendmail body . aaaaaaaahhhhhh

I have tried removing all versions of the workflow assigned to the list ( list ->settings -> workflow) and republishing from designer but to no avail. The workflow in designer is up to date. My email body is now blank but this is not what the user is seeing>

 

I guess I need to remove all traces in the content database of the the dodgy workflows and somehow reconnect with the one I am editing in designer.

 

Any ideas

 

 

 

 

 

 

 

 

 

6 Answers Found

 

Answer 1

All

 

In the end I recreated the workflow  so this problem has gone away. However I hit a another issue  with the format of the email  body....

 

SharePoint is great ;-(

 

Daniel

 

Answer 2

Yea, workflows  get sort of stuck in there sometimes...you hit the fix, just re-create it.  sometimes just re-createing that step works as well.
 

Answer 3

Hi

 

 

Well this has now happened twice.  Luckily ,  the W/f was almost finished - just needed change the color of the title txt in my table.  I change 

<td valign="top" width="200" colspan="3" style="color: #999999">I have now changed! </td>

 and even the title text  then click OK then Finish.  The workflow  kicks in when I amend the form but the subseqent email  does not show these changes; even though they are there when I open the w/f in SPD. I can go back to the list  ->settings -> workflow and remove, then reapply the w/f from SPD but this does not resolve the issue.

Is this a bug? Do I need a service pack. Could I open my w/f in SPD 2010 or does that work only against SharePoint 2010.  This issue  could of caused me major grief with the client.......and don't get me started on if they want any change requests as currently this is impossible :-(

 

 

 

 

 

Answer 4

Hi Dan,

Um, no, that's the way spd workflows  work.  They don't always stick when you post them.  If at first it doesn't post, try try again.  You've noticed they version...sometimes it seems they don't auto-associate.  If you read a little about the back-end engine for workflows it's sort of a confusing complicated world.  I haven't noticed that what you change has that much of an impact, I suspect it's the back end processes not quite clicking.  If it starts to happen a lot suggest you dig deepeer and fix the core problem.  Happens maybe once a month to me.

Just googled this...looks apprpriately lengthy...google yourself if you'd like to learn...http://msdn.microsoft.com/en-us/library/cc511934(office.12).aspx

SPD attempts to protect you from this world, like I said earlier the simple answer is to simply rebuild it.

Best regards,

S'

 

 

Answer 5

Hi

 

Yes I would like to understand this as I think SPD has great potential within my organisation to get fast results.  I will trawl through those links you mentioned. I also re-googled

 

and came up with this http://blogs.msdn.com/b/sharepointdesigner/archive/2007/03/27/tip-clearing-the-spd-workflow-assembly-cache.aspx

After clearing the cache... my changes started to appear ... great. I think you were the catalyst for this as I was going around in circles so thank you.

 

Daniel

 

 

 

Answer 6

What a nice blog, Thanks!
 
 
 

<< Previous      Next >>


Microsoft   |   Windows   |   Visual Studio   |   Tech Videos   |   Follow us on Twitter