.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

Is there a way to manually step back workflow?

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :C#

I am using SPD to design workflow. Can anybody tell me if there is a way to manually step back workflow? For instance, one user mistakenly approve the workflow and when he finds out it is wrong, he will come to administrator to ask for canceling his action and being able to let him redo it. My question is, can this be done in MOSS?

Thanks for your answering.

View Complete Post

More Related Resource Links

Attach Workflow to Task List, don't get option to manually start workflow via dropdown on task item



I am running WSS 3.0 with other workflows which are functioning correctly.  I created a new workflow in Visual Studio 2008 and was able to successfully run it in my dev environment.  I attached the workflow to a task list in my dev environment and was able to manually start the workflow by using the drop down workflow option and using the menus to manually start it.  I installed this workflow in our production environment and attached it to the task list (which had a SPD workflow attached to it which stopped working about a month ago).  I made sure that the option to manually start the workflow was checked.  When I tried to manually start the workflow, (hover mouse over title, drop down) there isn’t a workflow option.  The workflow also will not start automatically when a task is changed.


I attached this same workflow to a different task list in production and get the option to start it.


I have tried creating a small workflow in SPD 2007 and attaching it to the task list.  It shows that it is attached, when I look at the workflows that are attached to the task list, but I still don’t get the option to manually start it.


I have checked my security and I have fu

Custom Ribbon action using quick step for workflow

I created custom button using the quick step in ribbon, and configured to invoke a workflow. It shows start and stop page of workflow where I have to click start. How to start workflow directly from the ribbon without this redirection to page.  

Making an Exchange Distribution List an Approver for a Workflow step

I have a client that has an Exchange Distribution List populate by a team of specific stakeholders. They want a workflow that includes the Distribution List as an approver so that everyone in that DL has to approve before it moves on to the executive steering committee. What are the proper steps to making an Exchange DL a approver to a workflow in MOSS?  silly rabbit, tricks are for kids!

go back to Create User Step on CreateUserWizard control



I'm using a CreateUserWizard do add users to a web app. Everything is working great, but on thing... the Complete Step :-/

I don't need that extra step, and more, i'm using this control as an option where the administrator of the application adds his trusted users to the site. So, its part of a web form that has a list of users on one side and the CreateUserWizard on the other.

What i tried to do, and was unsuccessful, was to change the ActiveStepIndex back to 0 then the user creation was completed, but this didn't work. The Complete Step still appears. Also, i added this to the continue button event and it did nothing either: CreateUserWizard1.ActiveStepIndex = 0;

Is there any way i can "hide" this step? If not, is there a way to go back to the Create User Step when i click the Continue button in the Complete Step?


SPD 2007 Manually Start Workflow access denied


Im having  a isssue i have encountered before, however the fix seems to either have sliped my mind or the fix i thought should fix it seems to be having a issue as well.


I have created a workflow in SPD 2007 to manually start and update a list item, however before i can even get to the "start" page i get access denied with EVERY user except the Site collection administrator.

The fix i had: Check the workflow out in SPD and check back in, BUT im also getting a error with ANY File upon trying to check back in "Cannot perform this operation. the file is no longer checked out or has been deleted" BOTH are not true.

So any input would be greatly appreciated.

cannot add Impersonation step in approval workflow sharepoint 2010



I am using SharePoint 2010 approval workflow, where users fill infopath form and submits it to form library and manually starts workflow on that item with their choice of approvers, my requirement is i need to break permissions when workflow starts on that item and give permissions to user and approvers only .

is there anyway to do it?




Custom Workflow Activity Works 'Manually' but can't be fired using CodePlex's 'Start Another Wo


Consider 2 lists.  In one list, a workflow runs on an item and if conditions are right, it creates an item in another list, pauses for 5 min, then starts another workflow on that newly created list item (using CodePlex's old 'Start Another Workflow' routine).

All of that works great, used it many times in many situations without fail, so long as I put a pause between the item creation and calling the workflow on the newly created item.

I've started writing my own custom workflow activities, all of them work just fine, up to 5 now, really useful to do little things that SPD Workflow can't do by itself.  The 5th one I added was a very simple 'Now' routine.  The class itself is called 'GetNow' and has a 'RightNow' property that's DateTime and it works great.  I have the need to stamp something with the current date/time, and I haven't modified the underlying record yet, and setting a Date/Time variable only takes Today or a static date/time, with 'Today' returning the current date, but '12 am', which is redunculous, but I digress.

So my step compiles, updated my .ACTIONS file which holds the definition for the other 4 custom routines.  I have the context 'in' parameter and one 'out' parameter for 'RightNow' defined as System.DateTime (which I think is where the problem is, possibly), and it all works if I

How to assign the first workflow step to the user launching the workflow


I need to be able to launch a workflow and have the first step assigned to the CurrentUser. The workflow user list only takes named users.

I cannot user Visual Studio since I need to allow the user to add or change workflow tasks members

How do you prevent a workflow from reaching the completed stage before it executes the workflow step


We designed a 7-step approval workflow in SPD 2007. Each step requires that two conditions be met before sending an email to the workflow participant. If the participant approves, the next participant receives an email, and so on. In the event of a rejection, the previous participant receives an email asking him/her to correct the problem and then approve.

What's truly frustrating is we know the workflow works because it executes perfectly the first time. Each participant is notified; approvals keep the workflow moving; the last step completes the workflow; and, most importantly, there is a workflow history documenting each step. However, when we test the workflow a second time (and each time after that), it races through to the Completed stage without generating emails or creating a workflow history. It's almost as if the workflow is somehow firing off the status of the prior workflow.

Since this workflow is running on a client's server, we have no way of know if the server cache is somehow causing the workflow to behave this way. And is that even a possible cause?

Some background facts: we created a SharePoint form library by publishing an InfoPath 2007 form. The approver names are contained in a combo-box control. The data sources are external XML files and SharePoint lists. We are also using the GetUserProfileByName data to populate the curren

Workflow Designer 2007 that is completing on the first step of a multiple step process.


The work flow is tied to an infopath form 2007 and is triggers by events.  Step one is to sends the email, the workflow action is to "wait" for another event.  Howver, the workflow shows completed with no error messages. This workflow was working.  I would like to see why the workflow is completing when it is should be In Process.

The workflow states:

Condition - If mgr-approval is empty

Action Email Manager, then wait for mgr-approval to be not empty.

It would then go to step 2.  It is never getting to the next step.



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.

Sorting GridView Columns Manually

We all know that GridView columns can be sorted automatically when SQLDataSource is being used. But what if you are not using SqlDataSource to populate the GridView. Sorting the GridView manually is pretty straight forward task take a look at the code below

Manually sorting and paging Gridview without using datasource control

Many a times while working with Gridview we want to work with the paging and sorting functionality without using any datasource control. Gridview is flexible enough to perform these tasks without the use of any datasource control and only a few lines of code.

Returning a DataSet From a Web Services: Step-by-Step

This Example Shows how to create a webservice which returns a DataSet and a Client Which displays the DataSet in a Grid.


This Example Shows how to create a webservice which returns a DataSet and a Client Which displays the DataSet in a Grid.

Post back puzzle


Hi, I have a website where the user makes a selection from a combo box and it then fills a couple text boxes with text based upon the selection. I'm sure as you know it could take a second for the text to appear in the text box due to the post back. I know there is no way to make it instantanious, so what I would like to do it fill the text box with somthing like "Loading Info..." so the user does not type in it while the information is loading.

If you would like to see what I mean please go to this page: www.epiclinks.com/create.aspx and mess around with the combo boxes and You'll see what I mean.

What I would like to do is have it do a post back to write "Loading Info..." and then do another post back to fill it in based upon their selection. How would I do this?

I'm up for anything, so if you have a better solution than that please let me know.


Security negotiation failed because the remote party did not send back a reply in a timely manner. T



Dear All i have created one simple service

like this

namespace WcfService2
        public class Service1 : IService1
        public string ShowEmpName(string strFirstName, string strLastName)
            return strFirstName + strLastName;

after executing in .net command promt i got 2 files

service.cs & output.config

after that i create one class file like this

namespace WcfService2
    public class clientcs

        static void Main(string[] args)
            Service1Client client = new Service1Client();
            string strResult = client.ShowEmpName("Pradeep", "Deokar");

Configuring website to ASP.NET 2.0 failed. You may need to manually configure this site for ASP.NET


I am trying to create a new website project in Visual Studio 2005, the website is an IIS website (ie. http://localhost/website1) and i get the following error message;

Configuring website to ASP.NET 2.0 failed. You may need to manually configure this site for ASP.NET 2.0 in order for your site to run correctly.

then when i try to debug the project i get the following error;

Unable to start debugging on the web server. The server does not support debugging of ASP.net or ATL server applications.

I am running Windows XP professional, with .NET 2.0 installed, and IIS V5.1

How can i get a simple website to debug on my machine?

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