.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Simple workflow didn't work

Posted By:      Posted Date: December 04, 2010    Points: 0   Category :SharePoint

Hi every body

I am working on wss3 and i want to create simple work flow.
I used share point designer 2007 and defined task to do for a user of Active Directory.

If assign task when a document created in share document.

I saved this work flow and create a doc in share document but there isn't  any task for user and

When i go to work flow setting of "share document" work flows is 0 .


Thanks for any guide to solve this problem.




View Complete Post

More Related Resource Links

Workflow doesn't work anymore after renaming list

Hi All, I have created a list with the name "helpdesk test". After testing this list i renamed the list to "helpdesk". I did the rename by the list settings.  To this list i attached some workflows, with Sharepoint designer,  that have to start when a new item is created. All worked fine but after the rename the workflows don't work anymore. When i start the workflows manually from the list all works fine. Is there a way to rename a list and let the workflows work as before? Thanks in advance. Laurens.      

How does "Alert Me" work with simple web page?

In another post (http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/83ec9566-0357-4f40-9388-f364e87c1bd4/)  I've learnt how to make simple web pages in MOSS 2007. Then I want to "subscribe" some users using the "alert me" function but it doesn't seem to work.  Do I miss something or "alert me" doesn't work with simple web pages?  

SharePoint workflow Enable WorkflowModification doesnt work

Hi   I'm trying to enable WorkflowModification in a sequential workflow in VS Studio 2008 according to the *** of examples of microsoft but When I run my workflow I get this error: 09/14/2010 10:24:35.78  w3wp.exe (0x11FC)                        0x13A8 Windows SharePoint Services    Workflow Infrastructure        88xr Unexpected WinWF Internal Error, terminating workflow Id# 74f4bd77-7aaa-407e-90ac-f56a6184bc21  09/14/2010 10:24:35.78  w3wp.exe (0x11FC)                        0x13A8 Windows SharePoint Services    Workflow Infrastructure        98d4 Unexpected System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.SharePoint.SPException: Error in the application.     at Microsoft.SharePoint.Workflow.SPWinOEWSSService.EnableWorkflowModification(Guid modificationId, String contextData)     --- End of inner exception stack trace ---     at System.RuntimeMethodHandle._InvokeMe

Newbie Quest: In Memory Workflow Error on Simple App


I'm new to workflow and am working through a book example and can't seem to understand an error. The goal of the example is to use a workflow in one form and then persist it and pick it up on another form.

In the below code, when the call to the event is made, I get an in memory workflow state exception. The WF has been unloaded or removed etc.

I'm not sure of the issue, it appears the wf is going idle and being persisted before the event is even rasied but I am not sure how to get it to persist at the correct time. When I get the error,  I can see it in my instancestate table, but I'm not sure what the fix is. I have played with the loadinterval and ownership durations when setting up the WF service to no avail. If i set persist on idle to false then of course it works as it stays in memory and doesnt get presisted, but I want to pick the workflow up on another form so then that of course doesnt work since its not persisted.  A standard google on the error didnt come up with much. The sugested links when posting this question also didnt seem to have anything relevant. 

I'm hoping this is just a common issue and as a newbie i'm not seeing it. below is the code where I start the workflow and raise the event. I can post the set up of the persistence service if needed as well.

// Create and start a workflow instance

SharePoint Workflow dosn't work automatically



i created a workflow using sharepoint designer 2010 to send mail to the users

the workflow should be triggered automatically when a new item was added or existing item was changed

the problem is that the workflow doesn't work in these 2 cases and works only if the workflow started manually

i need to know what is the problem ?? 

"Does not contain" condition on a choice field in a SPD Workflow does not apply/work


I am trying to check a multiple choice field on containing a specific value but it doesn't really work. I am not sure if that is because I have a

problem with the logic or if that is a SPD problem.

I created a Content Type "Test CT" (based on the "item" content type) and added two Site Columns of the type "choice", named "Test Column 1" and

"Test Column 2" to that content type. Both choice fields are configured to contain multiple values and can contain the identical values "Product

ABC" and "Product XYZ". Additionally I added Site Column of the type "Single Line of text", named "Result" to the content type. Then I added the

content type to the custom list "Test List".

Now I built the Reusable Sharepoint Designer Workflow "Test WF" that is based on this content type and that works like this:


Set "Result" to String "Start"

If "Test Column 1" contains String "Product ABC"
Set "Result" to String "Test Column 1 contains ABC"

Else If "Test Column 1" does not contain String "Product ABC"
Set "Result" to String "Test Column 1 does not contain ABC"


Then I

Does Useful Sharepoint Designer Custom Workflow Activities work across servers - pls HELP


Not usre if this is the right place to post this but sure many guys must have used this
I have a siteA at



and Site B at



when i try and use the
Copy List Item Extended Activity to copy the list items across i keep getting error:

System.IO.FileNotFoundException: The Web application at http://myserverA/sites/pop/lists/mylistname could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.

My AAM looks like this:

Internal URL                  Zone        Plublic URL for Zone

http://myserverA:8080    Default     http://myserverA:8080

http://myserverA.domainname:8080  Default  http://myserverA.domainname:8080

http://myserverA.domainname:2020 Default     http://myserverA.domainname:2020  -- this is been extended for FBA

Any ideas what i ne

Simple C# code does not work


Hi everyone,

How can I put the C# code into the htm file ? Then following
code does not work. How can I make it work ?



-------------- begin RSSTable.htm ---------------

ProductId = <%= Request.Params.Get("ProductId") %>

-------------- end RSSTable.htm ----------------

Very Simple JQuery code does not work


Hi everyone,

How come the following code does not work ?  If you can, please make the following code to work for me.



<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CookiePage1.aspx.cs" Inherits="CookiePage1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">

    <script type="text/javascript">

        function SetCookie(T) {

            //Create (or update) the value of a cookie to expire in 2 days:
            $.cookie('ShoppingCartId', T, { expires: 2 });


        function ReadCookie() {
            var SCId = $.cookie('ShoppingCartId');

            return SCId;


        $(document).ready(function () {
            var T = "Testing Cookie";




    <form id="form1" runat="server">
    <div class="MyShoppingCartId">       

Workflow work



I have an ASP.NET C# Web application in place which adds records to a database, these records are polled by a WinForms app which then sends out email notifications to users based on their role.

What I need is someone to detail how WWF could be integrated into this solution so that it is properly workflow driven.

If you have the relevant skills then I'd be very glad to hear from you?


Anyone know of any plugins/addins to allow Ctrl + F to work in the Workflow Designer?



It was suggested I post in this forum regarding my quandary re: navigating large workflows from the GUI:


It appears that Ctrl+F is not supported in the Workflow Designer out of the box; just wanted to know if anyone is aware of any VS plugins, addons, or tricks that could quickly let us jump to the desired section of the workflow without constantly working in Expand All mode or memorizing Sequence names (the latter of which seems to be the inevitable as we make our customizations more complex).

Thanks much!


While Loop Activity Doesn't Work in SharePoint Workflow


Hi ,

i use the following method in While activity


private void WhileCondition(object sender, ConditionalEventArgs e)
      e.Result = !isFinished;

and while debugging the workflow e.Result is equal True !!!!

i don't know why the workflow exit the while loop and make the status of the workflow Completed ?

please advise 


Best Regards


My first Stored Procedure...Didn't work

I watched the video here:

Then built a query in my SQL Server express, query worked fine.  So I modified it a bit to make it into a StoreProc; now it's like this:
create procedure RyanRun As
SELECT Customers.CompanyName, Customers.City, Customers.Region, Customers.Country, Orders.ShipName, [Order Details].UnitPrice,
                      [Order Details].Quantity
FROM         Customers INNER JOIN
                      Orders ON Customers.CustomerID = Orders.CustomerID INNER JOIN
                      [Order Details] ON Orders.OrderID = [Order Details].OrderID
Exec RyanRun

So, I select this part:
Exec RyanRun

Hit f5, and get an error message.&nb

Will the "Collect Signatures" workflow on Sharepoint 2007 work with Word 2010?



Can someone tell me if this is possible with these versions - I can't see anything for workflows on Word 2010. The Document has a signature line and is in a document library. I don't see Workflow in document item's menu option "Workflows"?



Creating a Simple Class in C#

The second article in the C# Object-Oriented Programming tutorial describes how classes are created in C# and how behaviour, in the form of publicly visible and private, hidden methods can be added. This demonstrates some of the uses of encapsulation

RadioButton inside GridView, How to get it work as normal

Did you tried before to drag a RadioButton control inside a Gridivew templatefield, and then you attempt to select these RadioButtons , you will notice that the behavior of RadioButton control will be changed and it will work just like the behavior of checkbox control! the user will be able to select more than one radiobutton in the grid!

A Simple and Extensible Radio Button Style GridView

The GridView is one of the significant controls in ASP.NET 2.0 and later versions. No doubt it reduces a lot of work time. However, customizing the GridView control is not an easy task. For example, it's hard to add a radio button column to the GridView. This article demonstrates the reason why a radio button column cannot act as normal and how to create a simple and extensible radio button GridView.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend