Return to Snippet

Revision: 38419
at January 2, 2011 01:57 by cchitsiang


Initial Code
function DoWebserviceJob()
{
   MywebService.DoJob(onComplete, onFailed);
}

[WebMethod]
public DoJob()
{
   //code from library
}

[WebMethod]
public DoJob()
{
     WorkflowRuntime runtime = Application["RUNTIME"] as WorkflowRuntime;
     MyWorkflowManager.DoJob(runtime);
}

public void DoJob(WorkflowRuntime runtime)
{
   WorkflowInstance instance = runtime.CreateWorkflow(typeof(MyWorkflow));
   instance.Start();
}

Initial URL

                                

Initial Description

                                

Initial Title
Simple Workflow in ASP.NET example

Initial Tags

                                

Initial Language
C#