Introduction to Workflow

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.

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 http://www.liferay.com/dtd/liferay-workflow-definition_6_2_0.xsd.

We’ll cover the following workflow topics:

« Asynchronous Send and Forget MessagingCreating a Workflow Definition with Kaleo Designer for Java »
Este artigo foi útil?
Utilizadores que acharam útil: 0 de 0