Adding New Workflow Types: Background Information

You begin creating a new workflow type by orphaning the WFCustomScriptPkg object, to act as a superclass object in your custom module's OSpace. You can find the WFCustomScriptPkg object in WFMain:WFRoot.

Because the WFCustomScriptPkg object is a superclass object that can be used for many different workflow customizations, you create a child of the WFCustomScriptPkg object and use it to create each new workflow type.

For each workflow type that you create, you can modify the following scripts:

After you orphan the WFCustomScriptPkg object and modify the GetWFTypeName(), GetWFTypes(), and StartWF() scripts, the Workflow Type list is exposed in the Content Server interface. This list is displayed on a workflow map's General Properties page and contains the names of the different types of workflows that you have created. The Workflow Type list lets the creators of workflow maps choose which type of workflow they want to create (that is, which custom operations they want to apply to their workflow map definition just before their workflow is initiated).