Posts

Showing posts with the label jBPM Tutorial

Liferay with jBPM Workflow Integration – Complete Guide

Image
  Introduction Enterprises often use Liferay as a powerful portal and content management platform, while jBPM serves as a robust workflow and business process management (BPM) engine. When integrated together, Liferay can act as the front-end portal and jBPM as the workflow engine , enabling approval flows, case management, decision automation, and business orchestration. In this blog, we will explore: Why integrate Liferay with jBPM Architecture overview Integration approaches Sample use cases Step-by-step integration outline Best practices Why Integrate Liferay with jBPM? Liferay handles UI, portals, users, roles, permissions, and content , while jBPM handles process logic, workflows, rules, and decisions . Key Benefits Separation of concerns: UI in Liferay, workflow in jBPM BPMN 2.0 based workflows Flexible REST integration Decision automation using DMN Scalable and loosely coupled architecture High-Level Architecture Flow User performs an action in Liferay (e.g., submits a ...

REST Component in jBPM – Complete Guide with Examples

 Modern business processes often require calling external services—microservices, third-party APIs, or internal REST endpoints. In jBPM , this is made possible using the REST Work Item Handler (REST WIH) , commonly called the REST Component . In this article, you’ll learn: What the REST component is How to configure it How to call REST APIs (GET/POST/PUT/PATCH) How to pass headers, parameters, and body How to store and use responses in the workflow Best practices and optional advanced tips 🔹 What Is the REST Component in jBPM? The REST Work Item Handler allows your BPMN process to make external REST API calls. A REST Work Item can: ✔ Call any REST endpoint ✔ Support GET, POST, PUT, DELETE, PATCH ✔ Pass JSON/XML bodies ✔ Attach HTTP headers ✔ Capture response codes and response bodies ✔ Store the response into process variables It is mostly used inside a Service Task . đź”§ Configuring REST Work Item Handler Add the REST WIH dependency in your pom...