1, Foreword The purpose of this chapter is to initially build the Activiti process engine, to initially familiarize you with how to build an Activiti project, how to build the project, and to complete the preliminary study of the Activiti workflow. If you want to advance, you can read the following tutorials. This article will […]
Tag: activiti
Activities in Android
To understand Activity, you must first understand the following concepts: Application components App components are the basic building blocks of Android apps. Each component is an entry point through which the system or users can enter your application. Some components depend on other components. There are four different application component types: Activity Serve broadcast receiver […]
Activiti process instances and task allocation
Article directory 1. Process examples 1.1. What is a process instance? 1.2. Associate the actual business with the activiti table (BusinessKey) 1.3. Suspend and activate process instance 1.3.1. All process instances hang 1.3.2. A single process instance hangs 2. Task allocation 2.1. Fixed allocation 2.2. UEL expression distribution 2.2.1. UEL-value method 2.2.2, UEL-method method 2.3. […]
[Workflow engine] Use of Activiti 02
The use of Activiti is mainly divided into three steps: 1, Define process Define a process according to the bpmn specification, template file <?xml version=”1.0″ encoding=”UTF-8″?> <definitions xmlns=”http://www.omg.org/spec/BPMN/20100524/MODEL” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns: xsd=”http://www.w3.org/2001/XMLSchema” xmlns:activiti=”http://activiti.org/bpmn” xmlns:bpmndi=”http://www.omg. org/spec/BPMN/20100524/DI” xmlns:omgdc=”http://www.omg.org/spec/DD/20100524/DC” xmlns:omgdi=”http://www.omg. org/spec/DD/20100524/DI” typeLanguage=”http://www.w3.org/2001/XMLSchema” expressionLanguage=”http://www.w3.org/1999/XPath” targetNamespace =”http://www.activiti.org/test”> <process id=”myProcess” name=”My process” isExecutable=”true”> <startEvent id=”startevent1″ name=”Start”></startEvent> <userTask id=”usertask1″ name=”Create leave request”></userTask> <sequenceFlow […]
KingbaseES database adaptation Activiti7 didn’t put process definition problem handling process
1. Introduction to Activiti Activiti is a lightweight java open source BPMN 2 workflow engine. It is currently upgraded to 7.x and supports integration with springboot2.x. 2. Project environment Spring Boot version 2.2.5 Activiti version 7.1.x Source database: MySQL 5.7 Target database: KinbgaseES V008R006C007B0024 JDBC driver: JDBC driver in Postgre form, postgresql-42.2.9.jar 3. Error messages […]
Use Intent to jump between different activities. Click “Login” to jump to the list interface, and click an option to jump to the detailed information interface.
This is the project file structure Write three pages, namely login.xml <?xml version=”1.0″ encoding=”utf-8″?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:app=”http://schemas.android.com/apk/res-auto” xmlns:tools=”http://schemas.android.com/tools” android:layout_width=”match_parent” android:layout_height=”match_parent” tools:context=”.MainActivity”> <RelativeLayout android:layout_width=”match_parent” android:layout_height=”match_parent” android:background=”@drawable/ssi” > <LinearLayout android:layout_width=”800px” android:layout_height=”690px” android:layout_marginLeft=”150px” android:layout_marginTop=”200px” android:alpha=”0.5″ android:background=”@drawable/login” android:orientation=”vertical” tools:ignore=”MissingConstraints”> <TextView android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:layout_marginLeft=”50px” android:layout_marginTop=”30px” android:text=”account” android:textColor=”#01af7e” android:textSize=”60px” android:textStyle=”bold” /> <EditText android:id=”@ + id/edit1″ android:layout_width=”700px” android:layout_height=”120px” android:layout_marginLeft=”50px” android:layout_marginTop=”10px” /> <TextView […]
Data return between activities [Android, activity return, combined examples]
Task requirements In Android applications, sometimes it is necessary to pass data from one Activity to another Activity and pass the results back to the first Activity after processing by the second Activity. In this case, we can use the startActivityForResult() and onActivityResult() methods to implement data return. Implementation steps Create a new Android project: […]
The Art of Process Modeling: Designing Processes with Activiti
The art of process modeling: using Activiti to design processes Preface Process related define a process start a process Delete a process Method related Create process Verify whether the process model is legal Get the current person’s to-do list Query candidate tasks Delete historical process Get a list of unfinished historical process instances Get a […]
Activiti – Integrate SpringBoot
1. Introduce dependencies <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.1.0.RELEASE</version> </parent> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <java.version>1.8</java.version> </properties> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> </dependency> <dependency> <groupId>org.activiti</groupId> <artifactId>activiti-spring-boot-starter</artifactId> <version>7.0.0.Beta2</version> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.29</version> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> </build> 2. SpringBoot application.yml file configuration Note: […]
Solve the UnprocessableEntityException exception that occurs in the integration of spring security and activiti7
Resolve the exception problem of UnprocessableEntityException: Process definition with the given id: xxx’ belongs to a different application version During the integration process of spring security and activiti7 versions, a series of problems occurred, which are recorded here: The software environment configuration is as follows: jdk1.8, spring boot 2.6.10, activiti7.1.0-M6 version jdk8 is a basic […]