Paul Galvin's (old) SharePoint space [SharePoint

Just another WordPress.com site

SPD custom workflow actions — string manipulation enhancements

About a week ago, I started up a codeplex project that provides a simple and reasonably generic method for adding custom action functions to SharePoit Designer workflow.  It’s described here: http://www.codeplex.com/spdwfextensions.  Beyond simply providing a framework, it also aims to provide a set of useful functions that will make SPD more useful/flexible/powerful. 

Here are the current planned features for version 1.0: https://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=spdwfextensions&ReleaseId=8280

If anyone has any interest in this project, please leave a comment or start/add to a discussion here: http://www.codeplex.com/spdwfextensions/Thread/List.aspx

Here are the current set of functions that have been coded (though not fully tested as of 11/08/07):

Function

Description (if not same as .Net function)

Num-entries()

Returns the number "entries" in a string as per a specified delimiter. 

For example: Num-entries in a string "a,b,c" with delimiter "," = 3.

Entry()

Returns the nth token in a string as per a specified delimiter. 

Length

String.Length

Replace()

String.Replace()

Contains()

String.Contains()
Returns the word "true" or the word "false".

Substring(start)

String.Substring(start)

Substring(start,end)

String.Substring(start,end)

ToUpper()

String.ToUpper()

ToLower()

String.ToLower()

StartsWith()

String.StartsWith()
Returns the word "true" or the word "false".

EndsWith()

String.EndsWith()
Returns the word "true" or the word "false".
Advertisements

One response to “SPD custom workflow actions — string manipulation enhancements

  1. Mike November 10, 2007 at 10:59 am

    As mentioned before, I am still interested in providing any efforts in terms of testing these functions.-Monjo

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: