Applications accepting user created content usually need to support an approval process so that low quality, objectionable, or otherwise undesirable data is not inadvertently published.

Liferay Portal includes a workflow engine called Kaleo. Kaleo allows portal administrators to set up workflows for their organization’s needs; the workflow calls users to participate in processes designed for them. Kaleo workflows, called process definitions, are essentially XML documents. Kaleo supports a host of XML element types to trigger decisive actions in your business process instances. You can fine-tune your process definition’s logic by incorporating scripts and templates.

The Kaleo Forms EE app from Marketplace includes Liferay’s Kaleo Workflow Designer that lets you create and modify portal workflows in your browser. With Kaleo Designer for Java, you can design and publish Kaleo workflows from Liferay Developer Studio!


Figure 1: Kaleo Designer for Java gives you a powerful environment for designing, modifying, and publishing Kaleo workflows.

Additionally, if you have a Liferay Portal Enterprise Subscription, you have access to the Kaleo Designer directly from Liferay Portal (Control PanelConfigurationKaleo Designer).

Kaleo Designer for Java is a workflow development tool that can be accessed in Liferay Developer Studio, providing workflow developers with a robust set of functionality:

  • A graphical workflow editor to visualize the workflow as it’s developed, and the ability to toggle between the source XML and the graphical editor.

  • Drag and drop capability for adding workflow nodes, with easy access to the source XML for each node.

  • A Freemarker template editor for creating detailed workflow notifications.

  • A Java/Groovy editor for scripting that lets you delegate workflow decisions to your custom business logic APIs, or access Liferay’s APIs.

Although Kaleo Designer for Java is the tool of choice for EE workflow designers, CE workflow designers can write Kaleo workflows too. But they are limited to writing them in their favorite XML editor. All Kaleo process definitions must follow the schema

We’ll cover the following workflow topics:

Creating a Workflow Definition with Kaleo Designer for Java

Developer Studio makes it easy for you to write custom business logic that enhances Kaleo workflows. Learn to create your own workflow in Developer Studio and discover features from Kaleo Designer...

Read More

Designing a Kaleo Workflow Definition

To illustrate several different workflow strategies, here are diagrams of each of the workflows that ship with the Kaleo Web plugin. You’ll find these definitions in the directory...

Read More

Installing Kaleo Designer for Java

EE Only Feature Kaleo Designer for Java lets you incorporate back-end Java development and scripting in your workflows. Its graphical interface lets you drag and drop nodes into your workflow. A...

Read More

Leveraging Template Editors for Notifications

Designer lets you leverage the FreeMarker editor to customize templates for your workflow notifications. A FreeMarker editor comes bundled with Developer Studio. Creating Notifications To access...

Read More

Publishing and Configuring Workflows

Once a workflow is developed, it must be published to Liferay. After that, there’s even more workflow configuration possbility, such as associating the workflow with a Dynamic Data List, and using...

Read More

Using Workflow Scripts

You can use Developer Studio to edit workflow scripts; it recognizes multiple script languages, so you can choose one you’re comfortable with. Developer Studio provides you many script editing...

Read More

Workflow Enabling Entities

Enabling your app’s entities to support workflow is so easy, you could do it in your sleep (but don’t try). Workflow enabled (Workflown? Workflowed? Workflowized?) entities require a workflow...

Read More
0 (0 Votes)
Asynchronous Send and Forget Messaging Previous