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

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

Automatic Workflow execution

Posted By:      Posted Date: August 31, 2010    Points: 0   Category :SharePoint
Hi folks, I have a task list which i have set to (require content approval for submitted items). I want to move the tasks which are APPROVED to another approved list. To accomplish it, i created a workflow in SPD. if Current Item:Approval Status equals 0;#Approved                 Email Current Item:Assigned To                 then Copy item in Current Item to Approved Tasks                 then Delete item in Current Item   I have set the workflow to automatically start when a new item is created or changed. When i approve a task; the workflow does not start. I have to manually start the workflow which then works fine as designed. Please advise what is missing for the automatic worklflow execution to work.You miss 100% of the shots you do not take!

View Complete Post

More Related Resource Links

Automatic Workflow start through Excel


Dear all,

I have a SPD WF and I want to start it automatically by channging a value in a dropdown inside Excel.

Instead of going to Office button --> Workflows --> Start "Budget Approval", start the workflow by setting a value inside Excel (and maybe saving the file) to "Completed".



How to do Time bound workflow execution

The requirement is that the workflow should complete in a time specified as a workflow parameter, if it is not able to execute all the activities , it should terminate itself. Can anybody give me an idea how i can do that. regards

rules execution without workflow and ruleengine

Hi,   I have a XML file with rules. If I execute that XML file using Rule Engine, it is taking lot of time. So I wonder, Can i execute the XML file with C#? convert that file to regular C# code in runtime? and execute it without RuleEngine. Is there any possibility?

sharing data between workflow during execution

Hello, I have number of workflows which are running at the sametime. I have a activity that gets the file from a remote location. It is possible that multiple workflow might require the same file. Is it possible, that once a given workflow has requested for the file, and if someother workflow wants the same, instead of looking for file, it waits for it, when the other workflow has downloaded the file, then it can use the same file. Similarly i have workflow loading files to a dataset, it is possible that other activity might want to load the same to a dataset can somebody please point to me, how can i do it, i have read about extension, but I am not able to find any documention, thats shows how can i use them for sharing information between workflows.

rules execution without workflow and ruleengine

Hi,   I have a XML file with rules. If I execute that XML file using Rule Engine, it is taking lot of time. So I wonder, Can i execute the XML file with C#? convert that file to regular C# code in runtime? and execute it without RuleEngine. Is there any possibility?

Workflow automatic weekly/monthly status report



We have an error reporting system on WSS 3.0. The responsible person for this system wants to get a weekly or monthly status email that tells about number of unclosed items, number of items that are done 50% etc to her mail address.

Is it possible to create a wrokflow that does this?

best regards

EventType clr20r3 on Workflow execution on Windows 2003 64bit


Hi there, I'm in big troubles because I'm facing a big failure on our customers server. Our Workflow Foundation 3.5 based server app crasches with this error:


Event Type:    Error
Event Source:    .NET Runtime 2.0 Error Reporting
Event Category:    None
Event ID:    5000
Date:        30/03/2011
Time:        14.20.45
User:        N/A
Computer:    WFSERVER
EventType clr20r3, P1 keystoneserver.exe, P2, P3 4d92f52f, P4 system.workflow.runtime, P5, P6 488f01cc, P7 259, P8 310, P9 ddtyh4crnqi0jcb1xjkwm10z55wsa2sj, P10 NIL.

but only on customers server (running Windows 2003 R2 64bit). Yes, on my development PC (Running Windows 7 Ultimate 64bit) the same code with the same database works fine. What it seems strange is that some time before all worked well. What happened in between I'm not sure... I've installed VS2010 SP1 on the development machine... some Windows 2003 R2 update... I don't know. Does anybody knows the reason for this error? Thanks... I'll appreciate you help... It will keep my had on my neck... :-/





Automatic vs Explicit Properties

If the reason that motivated the change from automatically implemented property to explicitly implemented property was to change the semantics of the property then you should evaluate whether the desired semantics when accessing the property from within the class are identical to or different from the desired semantics when accessing the property from outside the class.

Free Series of SharePoint Workflow How-to Videos

This is the series of "How to" Document Workflow with SharePoint using Visual Studio 2008 (using the .NET Framework 3.0 for backward compatibility to Visual Studio 2005). I have created video's that show the most common requests that I have seen around MOSS/SharePoint 2007 workflow & document workflow.

Automatic Batch Printing in ReportViewer Remote Mode


Please help me, i have a properly working codes that is capable of the following:

1. Printing of Reports from ReportViewer without using the build-in print ICON in the actual ReportViewer. to view the working for the printing alone please click here.

2. Batch Printing by making a loop and placing a checkbox on the gridview where the needed paramerter (DataKeyNames ID) is retrieved then pass to the ReportViewer

This is my Code

foreach (GridViewRow row in GridView1.Rows)
            CheckBox chk = (CheckBox)row.FindControl("CheckBox2");
            if (chk.Checked)
                ReportViewer1.ServerReport.ReportServerUrl = new Uri("http://TestServer/ReportServer");
                ReportViewer1.ServerReport.ReportPath = @"/Tavern/StudPaymentReport";
                ReportViewer1.ProcessingMode = ProcessingMode.Remote;
                ReportParameter[] rptParams = new ReportParameter[1];

                rptParams[0] = new ReportParameter("ClientID", GridView1.DataKeys[row.RowIndex].Value.ToString());


Workflow Services: Visual Design of Workflows with WCF and WF 4


The .NET Framework 4 makes it easier than ever to implement WCF services using WF. We'll demonstrate just how easy it is by modeling a long-running, durable and instrumented workflow based on a real-world business case without having to write any code.

Leon Welicki

MSDN Magazine May 2010

Workflow Essentials: Collaborative Workflow Improvements in SharePoint 2010


In this article, the author covers the new features in SharePoint 2010 geared for workflow developers and then walks the reader through a couple of new user scenarios.

Paul Andrew

MSDN Magazine November 2009

Foundations: Workflow Services for Local Communication


This month's column describes how to use WCF for communication between a workflow and a host application in Windows Workflow Foundation 3. This knowledge should help developers with their efforts using WF3 and prepare them for WF4, where WCF is the only abstraction over queues (referred to as "bookmarks" in WF4) that ships with the framework.

Matthew Milner

MSDN Magazine November 2009

Foundations: Windows Workflow Design Patterns


Design patterns provide a common, repeatable approach to solving software development tasks, and many different patterns can describe how to accomplish a certain goal in code. When developers begin working with Windows Workflow Foundation (WF), they often ask about how to accomplish common tasks with the technology. This month's column discusses several design patterns used in WF.

Matthew Milner

MSDN Magazine August 2009

Toolbox: Microsoft Chart Controls, Visual Studio Automatic Code Snippets, And More


In this installment we look at the Microsoft Chart Controls; Snippet Designer, a free, add-in for Visual Studio 2008 for creating and editing Code Snippets; refactoring SQL applications; and this month's favorite blog.

Scott Mitchell

MSDN Magazine April 2009

.NET Matters: Ordered Execution With ThreadPool


This month we demonstrate how you can use the ThreadPool to support ordered execution without having to build custom thread pools yourself.

Stephen Toub

MSDN Magazine February 2009

ASP.NET Workflow: Web Apps That Support Long-Running Operations


Integrating workflow into ASP.NET applications means communicating with activities via a workflow queue and hosting the runtime in the global application class. We'll show you how.

Michael Kennedy

MSDN Magazine January 2009

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