Share via


Workflow Scripting Reference

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

There are two places you can use script to enhance your application — in the workflow process and in Web pages. You are not required to write any scripts to make your workflow process run.

Each workflow event has two associated script functions — a validation script procedure and an event script procedure. When a workflow event is triggered, the workflow engine invokes the script engine and executes the validation function. If this validation function returns True, the associated event and event script procedure are executed.

During the script execution, the workflow engine provides a run-time object called the Session object, which gives access to workflow run-time information and application data. The workflow engine also provides a Logger object that provides support for testing and script debugging.

See Also

Workflow Application Infrastructure | SQL Server Workflow Toolbar Control | ModHFGrid Control | Workflow Events | Order of Workflow Events | Session Object Model Reference | Logger Object Model Reference