Copying a Workflow

The option to Copy a Workflow is available through the context menu located within the following list pages:

  • Project Workflows (Setup > Work)
  • Work Item Workflows (Setup > Work)
  • Timesheet Workflows (Setup > Timesheet)
  • Leave Request Workflows (Setup > Timesheet)
  • Expense Workflows (Setup > Expense)
  • Invoice Workflows (Setup > Financial)

    Note: In addition to the workflow design, all settings within the Work Item Setup dialog box including the Setup, General and all UDF tabs are also copied. For further details refer to Copying a Work Item Workflow.

Caution: To create a Workflow by copying an existing one you must have the Create right to the respective Workflow (Setup > Organization > System > Security > Security Profile > Workflows).

  1. Navigate to the Workflow list page:
    1. Project Workflows (Setup > Work)
    2. Work Item Workflows (Setup > Work)
    3. Timesheet Workflows (Setup > Timesheet)
    4. Leave Request Workflows (Setup > Timesheet)
    5. Expense Workflows (Setup > Expense)
    6. Invoice Workflows (Setup > Financial)
  2. Click the context menu button located against the Workflow name you wish to copy.
  3. From the available options, click Copy.
  4. The copied Workflow will be in edit mode allowing you to make any necessary changes to it.

  5. When done click Save.
  6. Upon saving, based on the Workflow type, the following options become available in the upper-right corner of the Workflow Edit page :
    1. Version: Displays the workflow version number. This value is static and initially set to 1.

      Note: Displayed for the following Workflows:Leave Request, Project, Timesheet and Work Item.

    2. Share Link: Opens a dialog that allows you to share the workflow link with a colleague.
    3. Setup: Opens the Setup dialog box.

      Note: Available for the following Workflows: Expense, Leave Request, Project, Resource Request and Work Item.

    4. Security: Opens the Workflow Security dialog box.

      Note: Available for the following Workflows:Expense, Invoice, Leave Request, Project, Resource Request, Timesheet and Work Item.

    5. Rules: Opens the Rules dialog box.

      Note: Available for the following Workflows: Project,

    6. Transition Ordering: Opens the configuration dialog box for Workflow Transition Ordering.

      Note: Available for Timesheet Workflows:.

    7. Transitions Criteria: Opens the configuration dialog box for Workflow Transitions Criteria.

      Note: Available for Timesheet and Expense Workflows:.

Example

For our use case we are going to copy the Immediate Execution Project Workflow which has the following setup:

  • States: Active, Closed and Archive
  • Transitions: Close, Reopen and Archive
  • Assignments: 
    • Creator: Active and Closed States
    • Project Manager: Active, Closed and Archived States
  • There is Notification setup for the Reopen Transition.
  1. Upon clicking Copy, a new workflow will be created. Click Save.
  2. Note the following:
    1. Name of the workflow is by default set to Copy of [original workflow name]. In our case this will be Copy of Immediate Execution
    2. The ID will be set to Copy of [original workflow ID] in our case this is set to Copy of Immediate Execution.
  3. All setting within the States, Transitions, and Assignments tabs are duplicated exactly as they appear in the source workflow. This includes replicating the layout and all properties associated with States, Transitions, Assignments, and Notifications. So our copied Workflow will have the following:
    1. States: Active, Closed and Archive

    2. Transitions: Close, Reopen and Archive

    3. Assignments
      1. Creator: Active and Closed States
      2. Project Manager: Active, Closed and Archived States

    4. There is a Notification setup for the Reopen Transition.

  4. Additional settings based on the Workflow type such as Setup, Security and Transitions will be available to you upon saving. However, the settings in these areas (when present) are not duplicated for the following Workflow types:
    1. Project Workflows (Setup > Work)
    2. Work Item Workflows (Setup > Work)
    3. Timesheet Workflows (Setup > Timesheet)
    4. Leave Request Workflows (Setup > Timesheet)
    5. Expense Workflows (Setup > Expense)
    6. Invoice Workflows (Setup > Financial)