• View Communities
    • Citrix Developer Network
      The place for unfiltered straight talk on Citrix products. Blogs, code downloads, best practices, APIs, and more can all be found here.
    • Citrix Ready Community Verified
      Does it work with Citrix? Application compatibility questions are a thing of the past with the new Citrix Community Verified site.
    • Blogs
      Learn the latest from the Citrix employees who are building application delivery infrastructure technologies.
    • Blogosphere
      The Citrix Blogosphere is a window into the thousands of conversations taking place about Citrix and Application Delivery.
  •  Sign In
Workflow Studio Developer Network

Customizing Your Workflow Studio Database

Workflow Studio creates a database automatically as part of the configuration process, but if you are using a database server where your database administrator does not provide the permissions to create the database then you will need to have them run the configuration or provide them with the SQL scripts to manually create the database.

Workflow Studio SQL Scripts

When Workflow Studio is installed there is a sub-folder created in the "%Program Files%\Citrix\Workflow Studio" called SQLSetup. In this folder are all the scripts that are used to initially create the database, batch files that will create or remove all the tables, and a PowerShell script that will generate customized versions of these files with a different database name.

Generating Custom SQL Scripts

The default scripts are designed to create a database named WFDB. If you want to create a Workflow Studio database with a name other than WFDB you can run a PowerShell script we provide.

The syntax for running the PowerShell script is (NewDatabaseName should be the customized database you would like to use):

cd $ENV:SystemDrive"\Program Files\Citrix\Workflow Studio\SQLSetup"
.\SetDBName.ps1 NewDatabaseName

This will result in new database scripts generated in the folder that you can run against your SQL Server to create a custom database.

Running Custom SQL Scripts

The syntax for running the SQL scripts is (DBServer should be the server name of your SQL Server):

Install.NewDatabaseName.bat DBServer

Using Your Custom Database

Once the database is configured and your SQL administrator has given you access, you will be able to login to Workflow Studio.

Tags

workflow-studio workflow-studio Delete
articles articles Delete
configuration configuration Delete
wfdb wfdb Delete
database database Delete
sql sql Delete
Enter tags to add to this page:
Please wait 
Looking for a tag? Just start typing.
Related Links