Work on workflows To complete a workflow, you add workflow activities, validate the workflow, and publish it. Add a workflow activity Activities determine the functionality of the workflow. About this task When they are created, all workflows contain Start and End activities. For more information, see Workflow activities. Procedure Open a workflow. Check out the workflow. Drag a workflow activity from the Activities menu into the workflow body. Populate the Workflow Activity form that appears. Validate a workflow You can manually validate a workflow from the Workflow Editor. You can generate a workflow validation report from the Workflow Version form. Before you beginRole required: workflow_admin, workflow_creator, or admin About this task Running a workflow on a new node automatically attempts to validate the workflow. If validation is successful, the system updates the workflow version record to indicate the workflow has been validated and marks the record as updated by the user who ran the workflow. Procedure Open the workflow to validate in the workflow editor. When the workflow is loaded, the workflow validator icon appears in the toolbar. Click the validator icon to run a series of validation tests on the current workflow version and generate a report. Complete the following steps to generate a workflow validation report from the Workflow Version form Navigate to Workflow > Administration > Workflow Versions, and select a workflow to validate. Under Related Links, click Validate Workflow. Publish a workflow When a workflow is complete, publish the workflow so that it is available to all users. Before you begin Before you publish a workflow, validate it to test it for issues that might cause it to fail, such as missing subflows or disconnected transitions. For more information, see Workflow validation. About this task To publish a workflow: Procedure Navigate to Workflow > Workflow Editor. Open the workflow that you want to publish. In the title bar, click the menu icon and select Publish. Result If you published a new version of workflow, the changes are not applied to running workflow contexts. Any currently running workflow context continues using the workflow version that was available when the workflow started. The next time the workflow runs, it uses the new version. Determine whether a workflow can run A workflow can run only if a checked out version is available to the user who has it checked out, and a valid, published version is available for all users with permission to run it. Before you beginRole required: workflow_admin, workflow_creator, or admin Procedure In the navigation filter, enter wf_workflow.list, and then open one of the workflows. In the Versions related list, check for all of the following conditions: There is only one workflow version in a state of Checked out and Checked out by. There is only one version and it is not checked out. This version must be both Active and Published. You may need to personalize the list and add the Active column. If there are multiple versions, only one is Published. These checks determine the only two conditions under which a workflow can run: A checked out version of a workflow is available for the user who has it checked out. A valid, published version of a workflow is available for all users who have permission to run the workflow. Main flows containing subflows that do not meet one of these two conditions are not permitted to execute against a current record transaction. Instead, a critical log entry detailing the subflow state is added to the Workflow Context record. To enable the workflow to execute on the next appropriate transaction, remove the subflow from the main flow or modify the published and active states of the subflow. Edit a published workflow You can edit a published workflow after you check it out. About this task Note: You cannot check out or delete workflows that are associated with a read-only application file. To check out a workflow: Procedure Navigate to Workflow > Workflow Editor. Open the workflow that you want to edit. In the title bar, click the menu icon and select Checkout. A new version of the workflow is created and assigned to you. If you are in a different domain than the published workflow, the new workflow version is created in your domain. What to do nextAfter you finish editing the workflow, validate and publish the workflow to make the new version available to other users.