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 – creating and completing user tasks

We can create and complete user tasks using the various service APIs of Activiti. In the previous example, we saw how to find a task allocated to a particular group or user. Now, let's see how to complete a user task using the API. We will create a new process for this task.

In this example, we will create a process in which at the start event, we will have one form from which we get information about training requirements and then we connect the flow of the process with the BDE task as in the previous example. Then, we will find the task allocated to gonzo and complete the gonzo task using the API. Then, the trainer information will be available to the Kermit user. We will have to perform the ...

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