How to automatically start a business process after the deployment in JBoss BPM Suite 6.1?

Solution Verified - Updated -

Environment

  • Red Hat JBoss BPM Suite (BPMS) 6.1.x

Issue

  • Can a process be started automatically with a "timer" using a cron expression?
  • Is it possible to automatically start a process after the deployment in business-central?
  • How to automatically start processes?

Resolution

You can achieve it by using the Timer Start Event. You can find a sample project attached (Auto.zip) that contains three processes: Firestarter, Victim1 and Victim2. By unzipping the attached file, you will find a git repository, please clone it to business-central. Then build&deploy the project, one second after the deployment is finished, the Firestarter will be started and will automatically start the Victim1 and Victim2 processes.

Attachments

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments