Share via


Testing a Template

Before distributing your workflow application template, test it to make sure it creates an instance properly on the target system. Consider testing the installation of the template on the server as well as the functionality of the Web site.

After determining that the application installs and works correctly, you can distribute the template file (*.tpl) for use on any server that has Workflow Services for SQL Server installed.

To test your template

  1. If you have not already done so, import the template using the Workflow Manager, so the template is registered in the modTemplates table on your server.
  2. In the Workflow Manager, select the server in the Server box, and click Refresh.
  3. Select the Templates tab, and verify the template is included in the list of available templates.
  4. Select the template, and click Instantiate Template to start the wizard.
  5. Use the wizard to create an instance of the workflow application. Designate where you want to install the database and the Web site.
  6. Use the SQL Server Enterprise Manager to verify that the database exists in the Microsoft® SQL Server™ data folder. Use the Internet Services Manager to verify that the Web site exists on the Web server.
  7. Open the Web site for the application from a client computer. Verify that the application works correctly.
  8. To test the permissions you have created, log in using Microsoft® Windows® group accounts that belong to the different database roles used in the workflow application. Then, access the Web site, and test the functionality.

See Also

Developing Workflow Applications for SQL Server | Creating Templates | Template Contents | Creating a Template for a Workflow Application for SQL Server | Saving a Template to a Server