Help Center>Foundation Help

Applies to:

  • Winshuttle Foundation

Configuring Winshuttle Workflow SV Service

Process menu topics

Related Topics

SVService is a service that performs asynchronous processing, such as sending emails and processing email approvals. SVService drives all tasks that are completed within Winshuttle Workflow, and a scheduled task must be configured on the Workflow Front End (WFE) server in order to activate SVService processes.

When the task runs on the server, the SVService process connects to a queue in the Workflow database and processes items line by line. These items include things such as: emails, notifications, tasks, and plugins.

Note: If you have configured multiple front-end Web servers on your farm, SVService should only be run on 1 server, and preferably on the main SharePoint server of your farm.

The following section walks you through setting up SVService as a scheduled task for Windows Server 2008 SP2 (and later).

Note:

  • To run SVService in SQL Server 2008 and configure SVService as a scheduled task for Windows Server 2008 SP2 (and later), the administrator must have full control in the SharePoint content database and ShareVis database.
  • For SQL Server 2008 and SQL Server 2012, Microsoft removed the Windows group Administrator (Builtin/Administrators) from the SQL Server group "sysadmin" in Server roles.

By default, your SVService scheduled task should be configured as shown below.

Configuring SVService as a scheduled task

  1. Click Start, click Administrative Tools, and then click Task Scheduler.
  2. In the Actions pane, click Create Task.
  3. For the name of the task, type WinshuttleWorkflow.
  4. Select the Run whether user is logged on or not option.
  5. Select the Run with Higher Privileges check box.
  6. Click Change User orGroup. In the Select User or Group pop up box, enter the Winshuttle Workflow Administrator account name and click OK.
  7. On the Triggers tab, click New.
  8. Under Settings, select Daily, and then set the task to repeat every 5 minutes for a duration of indefinitely. Click OK.
  9. On the Actions tab, click New.
  10. Click Browse and select the executable \Program Files\ShareVis\bin\svservice.exe
  11. In Add arguments, type –exit. Click OK.

    The parameter –exit is used so that after the SVService process has completed, the scheduled task on the server properly completes itself.

  12. Click OK, re-enter your credentials if prompted and save the task.

    NOTE: Make sure to run SVService in the context of Workflow Admin. In addition, open SVService Properties, and on the General Tab make sure Run with highest privileges is selected.

SVService Properties

Additional information

If you have multiple Web Applications and want to create different Scheduled Tasks for each one, you can add a parameter that will point SVService to a specific Web Application:

Workflow 10.7 or earlier

Use –configpath or –c parameter to do this.

Example:
svservice.exe –exit –configpath “C:\inetpub\wwwroot\wss\VirtualDirectories\80\sharevis.config”

Workflow version 10.8 or later

Use –configurl or –c to do this.

Example:
svservice.exe –exit –configurl “http://YourWebAppURL/”

The examples above describe the most likely scenarios for the SVService process. If you believe that you need to have more than one SVService process, or would like to discuss deeper optimization, please reach out to Winshuttle Support.

See SVService types for descriptions of other SVServices.