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 ...
-
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.
-
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.
>
-
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.
> >
>
>
>
Similar Threads
-
By Application Development in forum Sharepoint
Replies: 2
Last Post: 12-12-2007, 07:13 AM
-
By Application Development in forum DOTNET
Replies: 0
Last Post: 09-02-2007, 01:41 PM
-
By Application Development in forum CSharp
Replies: 0
Last Post: 09-01-2007, 01:17 PM
-
By Application Development in forum Sharepoint
Replies: 0
Last Post: 08-29-2006, 02:43 PM
-
By Application Development in forum Sharepoint
Replies: 0
Last Post: 08-22-2006, 03:47 PM