The Workflow Definitions section displays all the workflows created within a system, whether in draft or published status. You can search for workflows by name and perform actions like edit, publish, un-publish, and delete.
You can not modify or delete out-of-the-box (OOTB) workflow definition.
To edit workflow definition
Go to the Workflows listing.
Search for a workflow definition by entering its name.
Click the definition name link in the list, or click the More () icon at the beginning of the record, and then click Edit.
Setup pane: Modify workflow activities.
Settings pane: Edit workflow details and manage variables. To learn more about adding variables, see Creating Workflows.
Click Publish. A confirmation message appears. ClickYes, Publish. A success message appears.
An updated workflow version is created.
To publish workflow definition
Go to the Workflows listing.
Search for a workflow definition by entering its name.
You can publish a workflow draft in two ways:
Go to Actions column and click the Publish button.
Click the definition name link in the list, or click the More () icon at the beginning of the record, and then click Edit. The Setup pane appears. Click Publish.
A confirmation message appears. ClickYes, Publish. A success message appears.
If the trigger meets the defined criteria, the workflow will be executed for that context.
You can publish a draft version of the workflow definition.
Publishing a workflow activates it. Similarly, you can deactivate a workflow by unpublishing it, returning it to draft status.
To export the workflow definition
Click the workflow definition name link in the list. The Setup pane appears.
Click the More () icon, and then select Export.
A workflow definition is exported in JSON format.
To import the workflow definition
Click the workflow definition name link in the list. The Setup pane appears.
Click the More () icon, and then select Import.
Browse for the workflow definition file in JSON format and click Open. A confirmation message appears and the newly imported workflow activities will be visible on the pane.
Click Publish. A confirmation message appears. ClickYes, Publish. A success message appears.
To delete the workflow definition
Click the More () icon at the beginning of the record, and then click Delete.
A confirmation message appears. Click Yes, Delete.