/ Published in: C#
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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) { instance.Start(); }