Friday, November 21, 2008

Custom Workflow Actions: Links to SPD custom workflow activities

Introduction This article acts as an indexer for referencing pages which describe how to develop, troubleshoot and deploy custom activity libraries to be used in SharePoint Designer. They also contain links to alreday existing custom activities provided by open source communities. Links Useful Sharepoint Designer Custom Workflow Activities This codeplex project takes aim at making it easier to create advanced workflows using Sharepoint Designer by providing a set of custom workflow activities. http://www.codeplex.com/SPDActivities Workflow Essentials The SharePoint Solutions team has released a beta version of Workflow Essentials, which provides you with a proven reliable, less expensive way to augment SharePoint Designer's workflow capabilities. Workflow Essentials is a suite of useful custom activities and conditions for the SharePoint Designer. It is compatible with both WSS v3.0 and MOSS 2007. But it is NOT FREE. Workflow Essentials pricing information will be forthcoming in the near future. http://sharepointsolutions.blogspot.com/2008/11/announcing-workflow-essentials-for.html User Profile Sharepoint Designer Activities 0.2.0 The "User Profile related SharePoint Designer Activities" is a solution package (.WSP file) that contains four SPD actions (workflow activities) for the SharePoint Designer workflows. This package is only for MOSS 2007 installations. It will not work on WSS 3.0 machines. The available actions are: (1)Get user title, (2)Find manager of the user, (3)Find display name of the user and (4)Find department of the user. http://edinkapic.blogspot.com/2008/05/user-profile-sharepoint-designer.html Adding Activities to SPD This article answers one of the most frequently asked questions: adding activities into the SPD workflow designer. It gives a quick summary, shows you an example and provides some tips and tricks to help solve common issues. http://blogs.msdn.com/sharepointdesigner/archive/2007/03/15/adding-activities-to-spd.aspx Multi Value Columns Solution #2 - Custom Activities in SPD The default Send an Email activity in SharePoint Designer can’t send e-mails to multiple recipients if those recipients exist inside of a multi-value column in a SharePoint list. This article describes a custom workflow activity that overcomes this issue. http://rapidapplicationdevelopment.blogspot.com/2007/04/multi-value-columns-solution-2-custom.html HOW TO: Create a custom Windows Workflow Activity and make it available in SharePoint Designer The default Send an Email activity in SharePoint Designer doesn't allow you to specify a from email address. This article describes a custom workflow activity that overcomes this issue. http://www.sharepointblogs.com/tbaginski/archive/2007/03/08/how-to-create-a-custom-windows-workflow-activity-and-make-it-available-in-sharepoint-designer.aspx Sending an email to a group with a SharePoint workflow Dave has encountered a problem when trying to send notifications to user groups using the default SPD Send an Email activity. This has led him to develop a custom activity. He finally has blogged about it in this article. http://davesquared.blogspot.com/2007/07/sending-email-to-group-with-sharepoint.html But Mark Deraeve left a comment about a much better solution for Dave's problem. It turned out that it is all about some missing group permissions. Check it here. http://www.dailycode.net/blog/post/Send-email-to-user-group-in-Sharepoint-Workflow.aspx Create Sharepoint Site By Template in Code - Workflow Custom Activity This post documents the steps for building a custom activity that creates a Sharepoint site by template. This post also talks about the steps needed in order to add this custom activity into the Sharepoint designer. http://blogs.microsoft.co.il/blogs/bursteg/archive/2007/07/08/SharepointSiteByTemplate.aspx SPD Workflow activity : Copying a listItem accros a site This custom workflow activity for Sharepoint Designer can copy a list item accros a site and/or to a list that is not available during the creation of the workflow but will be when the workflow is executed (using workflow variables). http://glorix.blogspot.com/2007/03/spd-workflow-activity-copying-listitem.html SPD Workflow activity : Creating a document library This article describes a custom activity that creates a document library using two variables that a user should enter in SPD. These two variables are the url of the site and the title of the document library. http://glorix.blogspot.com/2007/03/spd-workflow-activity-creating-document.html Sharepoint Workflow Custom Activity for Active Directory & Deployment on Moss 2007 This article illustartes how to create your own custom workflow activities using Windows Workflow Foundation. http://www.c-sharpcorner.com/UploadFile/rifaqats/rifaqat01102008014938AM/rifaqat.aspx

7 comments:

Samar Hossam said...

Hi Mark,

Thanks for the nice comment and I am very happy to know that the article was useful to you.

Best regards,
Samar Hossam

Unknown said...

Hi,
Got to see your blog.. Nice one... I have a problem.. Pls let me know if u have a solution for this..
I have created a workflow using VS2008. Task is assigned to a group. I need to send a mail notification to that group.. (Custom message, not automatic mail).. I tried using code activity and sendmail from toolbox.. But it didnt work.. have any idea??
Please let me know on this mail..
ravikanthk@intelligroup.com
Thanks in advance

Samar Hossam said...

Hello,

Actually, I haven't developed workflows using Visual Studio before. All the workflows that I have developed were using SPD and some custom activities.

In spite of that, I have read many articles and watched videos about developing workflows using Visual Studio.

So, I would recommend that you watch this video. It is a very simple demo for sending e-mails in a workflow. The source code is also provided for download.

Note that the code for setting the properties of the e-mail message starts from minute 6:50, in case you would like to jump to this part directly :)

I hope this helps.

Best regards,
Samar Hossam

P.S. I have also posted the reply on the e-mail address that you have provided.

Unknown said...

got to see your blog that was really good. since you have been working on SPD I have an issue when i am developing a workflow in SPD, could be plz see the below code and suggest me the solution

step 1:
Condition:

Action: Add -1 days to Choice Employ:DOB(Output to Variable: date)
then Add 0 days to Today(Output to Variable: current date)


step 2:

Condition: If Variable:date equals Variable: current date

Action: Copy item in Choice Employees to Employee Birthdays
then Copy item in Choice Employees to Employee Birthdays

but the action specified in step-2 does nothing with the lists I have provide.

Kindly advice.

Custom Papers Writing said...

Many institutions limit access to their online information. Making this information available will be an asset to all.

digital signature Adobe Reader said...

I just came across your blog today and absolutely LOVE it! Thank you so much for sharing all of your wonderful ideas!

Samar Hossam said...

I am very happy to know that you found my articles helpful. Unfortunately, I haven't been working with SharePoint for a while. But whenever I get the chance to work with SharePoint again, I would resume writing new articles :)

All the best,
Samar