Tutoriel jBPM en Français : Exemple de Gateway (Flux Approuver/Rejeter)
🚀 Introduction Dans ce tutoriel, vous apprendrez à utiliser une Gateway dans jBPM pour diriger votre processus selon des conditions. Nous allons construire un workflow simple de type approbation : Début → Tâche Humaine → Gateway → ✅ Chemin Approuvé / ❌ Chemin Rejeté → Fin 🛠️ Prérequis Bundle jBPM / Business Central & KIE Server (communautaire, version 7.x) ☕ JDK 11+ (JDK 17 fonctionne aussi) Un utilisateur avec le rôle manager Accès via navigateur : http://localhost:8080/business-central 📝 Étape 1 : Créer un nouveau projet Connectez-vous à Business Central Créez un projet nommé : approval-gateway ➕ Ajoutez un nouveau Business Process : ApprovalProcess Id : com.example.approval Package : com.example 🎨 Étape 2 : Concevoir le workflow Ajoutez un nœud Start (Début) Ajoutez une Tâche Humaine → configurez-la : Nom : Review Request Acteurs : manager Nom de tâche : review-request Ajoutez une ...