Introduction In this tutorial we will see how to mock Activiti TaskService, TaskQuery, NativeTaskQuery in Junit class. Suppose you have Spring service class where you are doing some business flow for your application. So you are using Activiti‘s TaskService to create a list of activiti Tasks using the method createNativeTaskQuery(). You may need to create…

Posted in Activiti Junit

Mock Activiti TaskService, TaskQuery, NativeTaskQuery in Junit

We have seen in our previous tutorial Spring boot activiti example how Business Process Management works using Activiti framework. In my previous tutorial I have used the default behavior of the process engine. In this tutorial I will show you how you can bootstrap the process engine using Spring JavaConfig to create our own spring boot activity…

Posted in Activiti Gradle Spring Boot

Spring Boot Activiti – Process Engine Configuration

Introduction Spring Boot activiti example shows the simplicity of embedding Business Process Management (BPM) into our application using Activiti. We will build a spring boot application that embeds standards-based Business Process Modeling Notation (BPMN) logic into our application. Activiti has advanced process design tools for embedding more sophisticated BPM logic into our application. These tools…

Posted in Activiti Spring Boot

Spring Boot Activiti Example