1 BPM Lab #2 THE FIRST PROCESS SERVICE Mgr. Marian Macik Principal Software Quality Engineer March 2025 Learn 2 Today Human tasks, gateways, signal events and forms 3 April Presentation: The latest business automation trends At the lab: Camunda 8 SaaS, DMN, custom services, emails, subprocesses, timer events, error events, and data object collections 15 May - 22 May Project consultations HOMEWORK 3 Deadline: 13 March 2025 (1 week) Assignment: ● Individual task on your or university’s PC ● Submit the homework project for evaluation into the MUNI system (Homework vault/Odevzdávárna HW1_camunda) HOMEWORK IN 3 STEPS 4 Create Order form DOMAIN FORM Create DeliveryProcess model with a single human task to do a manual delivery of the order PROCESS MODEL Use gateway and signal event to automate delivery AUTOMATION 5 The following instructions will help you complete your homework. Instructions Step #1: Order Form 6 ▸ Create the form and save it (e.g. into a dedicated folder) ▸ Add a Text view with text Order (you can use Markdown, e.g. ## Order for formatting) ▸ Add these fields to the form: ・ Count of type Number with key count ・ Item of type Text field with key item ・ Price of type Number with key price ▸ You can also add validation, e.g. Count and Price cannot be negative Step #2: Create DeliveryProcess 7 ▸ Create a process definition called DeliveryProcess ▸ Configure Start Form user task with the following outputs¹: ▸ Save the process definition ▸ Configure Manual Delivery user task with the following inputs¹: ¹ Remaining variables item and price are defined analogously Step #3: Deploy the project 8 ▸ Using Modeler, deploy Order Form and DeliveryProcess ▸ Try to run the process instance and complete the Manual Delivery user task Step #4: Automate Delivery 9 This is the default route¹ Set the condition here Create the signal definition ▸ Add a field Mode of type Select (2 static options: Drone, Manual) with key mode to the Order Form, this will represent the mode of delivery, and Save it ▸ Extend the process definition like in the picture and Save it ¹ Click on the sequence flow, click on the wrench icon and then select Default flow Step #5: Try running it 10 ▸ Redeploy form and process definition ▸ Run the process with both “Manual” and “Drone” mode ▸ With the “Manual” mode specified, the Manual Delivery human task should be created ▸ With the “Drone” mode specified, the process instance should wait for a signal which you can send using another simple process definition (SignalTrigger): Step #6: Export Project 11 ▸ Upload the archive to the Homework Vault/Odevzdávárna HW1_camunda ▸ Put all assets you created (Form, DeliveryProcess definition, SignalTrigger definition) in one folder and make an archive from them linkedin.com/company/red-hat youtube.com/user/RedHatVideos facebook.com/redhatinc twitter.com/RedHat Red Hat is the world’s leading provider of enterprise open source software solutions. Award-winning support, training, and consulting services make Red Hat a trusted adviser to the Fortune 500. Thank you 12