Custom SharePoint Designer action not displaying in a workflow when selected from the actions list

As part of my studying for SharePoint development exams 70-573 and 70-576 I have been looking at areas I haven’t had any previous experience and trying them out. As part of this I decided to look at creating a customer SharePoint Designer action.

The scenario I decided to look into was creating an action which accepted some parameters and then created a new site at a specific location. I won’t go into the code for this as its fairly straightforward. What I wanted to highlight was the problems I encountered when trying to add the action to a test SharePoint Designer workflow.

When starting out I have a look on the web and found a few articles to get me going, see links below. I followed the first article but found when I deployed this the new action appeared in SharePoint Designer but when I clicked on this nothing happened the action didn’t appear in the workflow.

Looking at the comments on the site it appeared a few other people had the same problem but there was no answer out supplied. I checked and re-checked my .actions file, the manual web.config entry and setting in in the advanced section of the package in Visual Studio. All the components like the assembly name, version number and public token key all looked the same. Eventually out of frustration I copied the whole string  in Assembly Name attribute set in the package, see figure 1, and copied and paste it into the two other locations and it worked. At first I couldn’t believe this would make a difference as long as the assembly name, version number and token were correct but it seems like the string has to match exactly, see below figures 1 2 and 3 in which the only difference is figure 2 doesn’t have a space between the assembly name and the version and this doesn’t work.

Hopefully this will save someone else from the frustrations I enjoyed Smile

Figure 1


Figure 2


Figure 3




3 Responses to Custom SharePoint Designer action not displaying in a workflow when selected from the actions list

  1. moss says:

    you are best man…I have been looking for it last two days..

  2. Noha says:

    same happened here…..

  3. Nicki says:

    My action doesn’t show.
    Mybe I have another mistake.
    My class begin like this:

    namespace SPdCustomWorkflowAction.CreateSiteActionDefinition
    public class CreateSiteAction:Activity
    What do I have to write in the action file?

    <Action Name="Create Worker Num"
    Assembly="SPdCustomWorkflowAction, Version=1

    Thanks ahead!

Leave a Reply

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

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

Google photo

You are commenting using your Google 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 )

Connecting to %s

%d bloggers like this: