Information on creating a custom Activity for SharePoint workflow - Sharepoint

This is a discussion on Information on creating a custom Activity for SharePoint workflow - Sharepoint ; Does anybody have any URLs or something that gives detailed information on creating custom workflow activities for SharePoint Designer? I haven't been able to find anything and am having a real problem trying to get the information on which SharePoint ...

+ Reply to Thread
Results 1 to 3 of 3

Information on creating a custom Activity for SharePoint workflow

  1. Default Information on creating a custom Activity for SharePoint workflow

    Does anybody have any URLs or something that gives detailed information on
    creating custom workflow activities for SharePoint Designer? I haven't been
    able to find anything and am having a real problem trying to get the
    information on which SharePoint list item triggered the workflow. A working
    sample would be awesome.

  2. Default Re: Information on creating a custom Activity for SharePoint workflow

    Hello Robin,

    if you download the ECM Starter Kit you have some sample code in there,

    http://www.microsoft.com/downloads/d...displaylang=en

    Rgds,

    Joris [MVP Windows SharePoint Services]
    http://jopx.blogspot.com

    > Does anybody have any URLs or something that gives detailed
    > information on creating custom workflow activities for SharePoint
    > Designer? I haven't been able to find anything and am having a real
    > problem trying to get the information on which SharePoint list item
    > triggered the workflow. A working sample would be awesome.
    >




  3. Default Re: Information on creating a custom Activity for SharePoint workf

    I've looked through the source code and unfortunately none of the samples
    address what I need to do. The things I need to accomplish are:
    1. Create a custom activity that is available to SharePoint Designer (done)
    2. Create a workflow in SharePoint Designer that uses the activity. The
    workflow should activate when an list item is created or modified. (done)
    3. Write code in the custom activity to manipulate the list item that
    initiated the workflow.

    #3 is where I am having the problem. I created a class that derives from
    UpdateItemActivity. The base class has properties for ListId, ListItem,
    ItemProperties and WorkflowContext. When the activity is called all
    properties are updated correctly except ListItem (the SPListItem.ID value
    that initiated the workflow) and WorkflowContext. As a result I can't do
    anything with the SPListItem that intiated the workflow because I don't know
    which one did that.

    "joris" wrote:

    > Hello Robin,
    >
    > if you download the ECM Starter Kit you have some sample code in there,
    >
    > http://www.microsoft.com/downloads/d...displaylang=en
    >
    > Rgds,
    >
    > Joris [MVP Windows SharePoint Services]
    > http://jopx.blogspot.com
    >
    > > Does anybody have any URLs or something that gives detailed
    > > information on creating custom workflow activities for SharePoint
    > > Designer? I haven't been able to find anything and am having a real
    > > problem trying to get the information on which SharePoint list item
    > > triggered the workflow. A working sample would be awesome.
    > >

    >
    >
    >


+ Reply to Thread

Similar Threads

  1. VS.NET Workflow in Sharepoint with Custom Activity Assembly Error
    By Application Development in forum Sharepoint
    Replies: 2
    Last Post: 12-12-2007, 07:13 AM
  2. Replies: 0
    Last Post: 09-02-2007, 01:41 PM
  3. Replies: 0
    Last Post: 09-01-2007, 01:17 PM
  4. SharePoint Designer error on adding a custom activity to a workflo
    By Application Development in forum Sharepoint
    Replies: 0
    Last Post: 08-29-2006, 02:43 PM
  5. How do I access a workflow variable from within a custom activity
    By Application Development in forum Sharepoint
    Replies: 0
    Last Post: 08-22-2006, 03:47 PM