SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I open a dialog initiation window of my sequential workflow from ECB menu. There is a start button on it. When this button is clicked the workflow starts working and the dialog window stays open. How can I start the workflow and then close the window immediately? For example, start workflow asynchronously.

share|improve this question
up vote 0 down vote accepted

I have found the answer. I use SPWorkflowRunOptions.Asynchronous :

Web.Site.WorkflowManager.StartWorkflow(workflowListItem, association, GetInitiationData(),SPWorkflowRunOptions.Asynchronous).

But there is other issue: workflow starts working after 3-5 minutes.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.