Creating Workflow Templates

SAP Commerce Cloud provides two default workflow templates for storefront content review and approval: Page Approval and Page Translation and Approval. You can create your own workflow templates in the Backoffice Administration Cockpit. Only admin users can create workflow templates.

Context

Workflow templates provide automated processes for reviewing and approving content for storefronts. In SmartEdit, you use the workflow templates by applying workflows to storefront content that you want to review. Workflow templates can be quite complex, therefore before creating your workflow template in the Backoffice Administration Cockpit, it is recommended that you first create a sketch of the workflow.

Workflow templates consist of actions. An action is the task that the assigned user is to perform, for example, review content, revise text, translate text, and publish content. Each action has a minimum of two decisions. You can specify multiply decisions for an action, but if you do, you must create a decision template. A decision template specifies what action is taken depending on which action a user selects.

When creating a workflow template, you should be aware of the following:

  • When you create an action for a template, you must specify the user group that performs the action and you can assign only one user group to an action at a time.
  • You must specify a start action and an end action.

If you want to add more usergroups to be able to view the workflow in SmartEdit, you must add visible principals by editing the workflow template. You cannot do it when creating the template.

Procedure

  1. Log into the Backoffice Administration Cockpit as the admin user.
  2. Go to Start of the navigation pathSystems  Next navigation step Workflow Administration Next navigation step Workflow TemplatesEnd of the navigation path .

    The Backoffice Administration Cockpit displays the available workflow templates.

  3. Click the Create button.

    The Create New Workflow Template window appears.

  4. Specify the ID, name, and description for your workflow template.
  5. Create an action:
    1. Click Create a new Workflow Template Action.

      The Create New Workflow Template Action window appears.

    2. Specify the mandatory properties of the action:
      • ID
      • Owner
      • Assigned User
      • Action type: Normal, Start, End
    3. Click Next.

      The Additional values panel appears.

      The information you provide in this panel are optional.

    4. Specify additional information about the action, such as:
      • Name
      • Description
      • Email Address
      • Send email
    5. Click Done once you have specified all the information for the action.

    Repeat this step for each action you want to create. If you want to create an action with multiple decisions, you must create a decision template for it. For more information, see Creating a Decision Template.

  6. Save your workflow template.