Posts

Showing posts with the label Script Task

Tutoriel jBPM en Français : Hello World ⚙️ Script Task

    🚀  Introduction Dans ce tutoriel, nous allons créer le workflow le plus simple possible avec jBPM utilisant une  ⚙️ Script Task . Le processus s’exécute automatiquement :  Début → ⚙️ Script Task → ✅ Fin , affichant un message dans les logs de la console. C’est l’exemple classique « Hello World » pour l’automatisation des processus métiers. ⚙️ Prérequis jBPM / Business Central & KIE Server installés (version communautaire 7.x ou 8.x) ☕ JDK 11+ (JDK 17 fonctionne également) Accès à Business Central : http://localhost:8080/business-central 📝 Étape 1 : Créer un nouveau processus Dans Business Central → ouvrez votre projet ou créez-en un nouveau. ➕ Cliquez sur  Add Asset → Business Process . ⚙️ Définissez les propriétés : Nom :  HelloWorldProcess Id :  com.example.helloworld Package :  com.example 🎨 Étape 2 : Concevoir le workflow Ajoutez un nœud  Start (Début) . ⚙️ Ajoutez une  Script Task . ✅ Ajoutez un nœud  End (Fin) ...

jBPM Workflow Tutorial: Hello World ⚙️ Script Task

🚀 Introduction In this tutorial, we’ll create the simplest possible workflow in jBPM using a ⚙️ Script Task . The process runs automatically from 🔵 Start → ⚙️ Script Task → ✅ End , printing a message in the console logs. This is the classic “Hello World” example for business process automation. 🛠️ Prerequisites 💻 jBPM/Business Central & KIE Server bundle installed (7.x or 8.x community) ☕ JDK 11+ (JDK 17 also works) 🌐 Access to Business Central: http://localhost:8080/business-central 📝 Step 1: Create a New Process 🔑 In Business Central → open your project or create a new one. ➕ Click Add Asset → Business Process . ⚙️ Set properties: Name: HelloWorldProcess Id: com.example.helloworld Package: com.example 🎨 Step 2: Design the Workflow 🔵 Add a Start node. ⚙️ Add a Script Task . ✅ Add an End node. 🔗 Connect them: Start → Script Task → End . ✍️ Step 3: Configure the Script Task ⚙️ Select the Script Task → go t...