Introduction to Workflow

Liferay DXP ships with a workflow engine that allows users to review and approve content such as Blogs, Web Content, Wikis before they are published. The Workflow application makes it possible to define any number of business processes/workflows, deploy them, and manage them through a portal interface. Workflow processes are written in XML format and several sample workflow processes are available for reference. Lastly, workflow processes can integrate with Users, Groups, and Roles as reviewers and approvers. After you defined your review process, you can select which types of content require a review process before publication.

Activating Workflow

When a workflow is activated for a particular asset, the Publish button is replaced by a Submit for Publication button, and instead of instant publication, the asset’s status is set as Pending. It must proceed through the workflow before publication.

Instead of a Publish button, a Submit for Publication button appears for workflow-enabled resources.

The out-of-the-box workflow process is called Single Approver; that means one person is required to review and approve submissions before publication.

To learn more, see the Activating Workflow and sending assets through review articles.

Building a Workflow

Workflow allows users to build more complex workflows that can have multiple reviewers and approvers. Learn how to build an effective workflow:

To start building your own workflows, see Building Workflows.

Using Workflow Metrics to Implement SLAs


The Metrics function can be used to measure Service Level Agreements (SLAs) performance in a workflow process. SLAs define the deadlines on a workflow process’s events. They can be formally agreed-upon deadlines between you and your customers, or informally created to meet internal goals, tracking events such as:

  • Total time to resolution

  • Time to complete a specific workflow task

Once an SLA is set, workflow submissions that trigger the SLA timer are automatically reported on by the workflow metrics framework, and given the status on time or overdue.

See Workflow Reports generated based on your SLAs.

See the Using Workflow Metrics article to learn how to add SLAs into your workflows.