O'Reilly logo

Activiti 5.x Business Process Management Beginner's Guide by Irshad Mansuri, Dr. Zakir Laliwala

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – suspending a process

So far, we have seen how to configure a process engine, deploy a process into the process engine, start a process, and query for a user task using an API.

Now, if there is a requirement to suspend a process, you can implement it using an API. We have already created a training process and now we want to suspend the process for some time. You can follow the ensuing steps to do so:

  1. Before suspending a process, just make sure that Training Schedule Process is available in the Deployed process definitions tab:
    Time for action – suspending a process
  2. Now create a SuspensionActivation class file to suspend the process with the following code in the class ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required