Building a Workflow

Building a Workflow

Before building a workflow, make sure you are familiar with the Conductor Studio interface by reading Getting Started with Conductor Studio. All of the actions referenced in the list below are described in that section. Once you understand how Conductor Studio works, the rest is easy:

Step Action Result
1. Start with the end in mind. It may be helpful to draw it out on paper or a whiteboard so that you can make sure to capture all the steps in your business process so that you know what you want to accomplish throughout the workflow.
2. In the list or library where you want the workflow to run, start Conductor Studio by clicking on the Create button in the List or Library tab of the Tools ribbon. If you want to build a site workflow, you can start Conductor Studio from any list in the site.

sa08_2010startstudio.jpg

NOTE: If you are using Simple Publishing to deploy workflows and you want to create a workflow that is available to any list or library in the entire site collection, you must start Conductor Studio from a list or library in the top-level site in the site collection. To build a site workflow, start Studio from any list in the site. Workflows deployed using Solution Deployment are always available to any site in the site collection no matter where they are created.

3. On the Workflow Settings tab in the settings pane, give your workflow a Title and Description. Select the desired workflow Start Option (does not apply to site workflows).

Make sure to click Apply to save the workflow settings.

sa08WFSettingsWFName.jpg

Icon-Warning Warning: If you do not enter a Title, you will get an error message when you attempt to deploy the workflow.
4. Configure any workflow variables and workflow initialization form fields required for your workflow.
sa08WFSettingsFormsVariables.jpg
Icon-Tip Workflow variables and form fields can be configured and updated at any time.
5. Drag widgets from the widget pane and arrange them in the workflow diagram pane according to your workflow requirements. For a description of available widgets, see About Workflow Widgets.
SA08_2010DragWidget.jpg
6. Set the required properties for each widget in the workflow on the Widget Properties tab in the settings pane. Make sure to click Apply after configuring the properties for each widget.
sa08SetApprovalStatusApply.jpg
7. When you are finished, click Save in the Conductor Studio ribbon to save the workflow. See Workflow Conductor Templates for more information about saving workflow templates.
sa08_2010_2_5_SaveAs.jpg

Icon-Tip If you do not save your workflow here, you will be prompted to save it when you deploy.
8. In the Conductor Studio ribbon, click the publishing option that applies to your workflow. Publishing a workflow automatically associates it to the list, library, or site.

sa08_2010StudioMenuDeploy.jpg

  • If Workflow Conductor is configured to use the Solution Deployment method, Deploy will be the only option.
  • If Workflow Conductor is configured to use the Simple Publishing method, you may see options to publish the workflow to the list, site, site collection, or as a site workflow, depending on the options configured.

    Click the option that best fits the scope of the workflow.

    sa08_2010StudioMenuSimplePublish.jpg

  • For the Simple Publishing options Publish to Site and Publish to Site Collection, you will be prompted for additional settings for list and content type association.

  • The default settings will automatically associate the workflow to the list where you started Conductor Studio and will make it available to all content types in the list.

For more information about deployment methods and workflow scopes, see About Workflow Deployment.

9. Your workflow is now available in the list or library where you started Conductor Studio. sa08_2010StartWFfromItemMenu.jpgDepending on the Start Option you selected for the workflow, it can be started manually using the Workflows option for an item (as shown here), or will start automatically when an item is created, changed, or published.

You can also start workflows manually from the Tools ribbon or from the item properties:

sa08_2010StartWFfromRibbon.jpg

Site workflows are started from the All Site Content page. Automatic start options do not apply to site workflows.
sa08_2010_StartSiteWorkflow.jpg

Now that you have successfully built and deployed a workflow, learn How to Manage Workflows in Your Farm.