Site Workflow Activator Webservice

Summary

This is a custom SharePoint Webservice packaged up as a Solution. It provides functions for starting Site Workflows to remote clients. There are also two clients of this webservice released as a part of this project: SQL CLR Objects and SSIS Dataflow Component.

Installation

  1. Download latest release package
  2. Extract all files to a single directory on a Web Front End server
  3. Run DeployPackage.bat with Administrative Privileges on Farm

Usage

  1. In Visual Studio 2008/2010 add web reference to http://Your Sharepoint Server/_layouts/DP.Sharepoint.Workflow/SiteWorkflowActivationService.asmx, call it SiteWorkflowActivationWS
  2. Use the reference as follows to start a site workflow with no parameters:
     using(var service = new SiteWorkflowActivationWS.SiteWorkflowActivationService())
     {
        service.Url = "http://[Your Sharepoint Server]/[Your Site]/_layouts/DP.Sharepoint.Workflow/SiteWorkflowActivationService.asmx";
        service.UseDefaultCredentials = true;
        service.StartSiteWorkflow("Your Workflow Name", string.empty);
     }

Last edited Mar 9, 2010 at 10:52 PM by unclepaul84, version 9

Comments

AprilDrake Mar 27, 2013 at 12:05 AM 
on sharepoint 2010, these steps didn't work for me. i get this error: "The argument '.\InstallSolution.ps1' to the -File parameter does not exist. Provide the path to an existing '.ps1' file as an argument to the -File parameter."

zalagaev Jul 28, 2011 at 5:38 PM 
hi!Please, give brief instructions on how to use it in SP2010?