Activiti background is supported by the database, and all tables begin with Act_. The second section is a two-letter identifier that represents the purpose of the table. The purpose also corresponds to the API of the service.
1) act_re_*: ' RE ' means repository. This prefix table contains the process definition and process static resources (pictures, rules, and so on).
2) act_ru_*: ' RU ' means runtime.
Since it is not necessary to save some data and process trends while developing the workflow, it is necessary to create the spring Activiti development environment by creating 23 of the officially available tables into our DB, and subsequent processes are recorded in these tables.1. Create the following code:@Testpublic void Createactivitytable () {processenginec
Activiti configuration instance and Spring integrated configuration, activitispring
Public class TestDB {public static void main (String [] args) {// 1. Create the Activiti configuration object instance ProcessEngineConfiguration configuration = ProcessEngineConfiguration. createStandaloneProcessEngineConfiguration (); // 2. set database connection information // set database address configuration. setJdbcU
Share the original ( respecting the original reprint right when the first line please specify, reproduced from the share of the source of cattle http://blog.csdn.net/qq_30739519)Activiti Source code compiled, recently someone asked activiti Source code compilation of some problems, here to summarize. Because a long time ago to modify the activiti source Code, I a
1, Activiti study Note 1-Download and development environment configuration;2, Activiti study notes 2-helloworld;3, Activiti study Note 3-process definition;4, Activiti study Note 4-process instantiation;5, Activiti Study notes 5-common API parsing;6,
process goes to the parallel stage and executes function module 1 and function module 2 at the same time.
Here we can see that the process instance id and the execution Object ID are already different.
This is the data in the act_ru_execution table.
We first submit a task of Function Module 1.
In the act_ru_task table
In this case, the task table only has function module 2.
We are looking at the act_ru_execution table, which is still the execution process of 3 data functional modules 1. It is
1.1 Creating a project
1.2 Add Jar Pack
1.3 Change configuration file
1.3.1 Connection Database
Configuration of the 1.3.2 Spring file
2 project configuration
Applicationcontext-dao.xml
Here is a description:Parent= "Basedao" is equivalent to
Applicationcontext-service.xml
Applicationcontext-action.xml
Activiti-context.xml, configuring Activiti tables
("Deployment time:" + Deployment.getdeploymenttime ());
}
third, database table changes
In the deployment process definition step, the database operates three tables:
1) Act_re_deployment (Deployment Object table)
Store the display name and deployment time for the process definition, adding one record at a time per deployment
2) act_re_procdef (Process definition table)
Storing the property information for the process definition, and deploy
Activiti workflow learning ----- Based on version 5.19.0 (7) and activiti5.19.08. BPMN 2.0 Flowchart
The emergence of BPMN 2.0 standards is a good thing. Users are not kidnapped by a workflow developer or develop compromises in the workflow. Activiti is a set of BPMN standard solutions, this allows you to smoothly migrate data when selecting a workflow framework. There is also a negative news, that is, the
First, the source code download Activiti Official website: http://activiti.org/Github:https://github.com/activiti/activitiOfficial online download is Lib library files, documents and website sample, recommend using MAVEN management project, can not download library files, direct download source code, github source code is already 5.18.0, but the official has not released, from the following URL to find 5.1
It was supposed to be a list of forms and previews after the form was created, but I looked at the integrated code, and there was no change in the basic angularjs, and some very small changes were based on the ANGULARJS syntax, so it's entirely possible to refer to the list of previously mentioned lists to show the relevant content. This also goes directly to the next step, creating a process model.In the previous creation Process Model section, I say the code is more, actually here also has ver
Let's talk about it. Integrated Activiti Web Modeler, when you complete the Web integration, it is recommended that you look at this person to write the blog, summed up, learning things or to understand the principle, more look at the source code, a lot of useful and learning places.
When you finish reading the following, recommend this person's blog, Better deep connection source: Click to open the link
1.web Modeler
The world article a big copy
The
First, we have a background: we have a Activiti workflow system already on-line, the operation of the flowchart has been packaged to deploy, view, delete the interface. At this point the customer proposes to modify the node name in the individual flowchart.My first idea is to modify the flowchart BPMN file locally, then go to the client first call the delete interface to delete the old flowchart, and then call the deployment interface to add the modif
1.1.1. activiti Default primary key generation method Share the original ( respecting the original reprint right when the first line please specify, reproduced from the share of the source of cattle http://blog.csdn.net/qq_30739519)The default primary key generation in Activiti is generated each time from the Next.dbid attribute in the Activiti database table Ac
Label:The first step:Create a database in MySQL named ' Activiti ' Execute the script under D:\activiti-5.21.0\database\create Step Two:Open = apache-tomcat/webapps/activiti-explorer/web-inf/classes/Db.propertiesModifying a configuration file db.propertiesDb=activitiJdbc.driver=com.mysql.jdbc.driverJdbc.url=jdbc:mysql://localhost:3306/activitiJdbc.username=rootJd
Through nearly 1 months of efforts, the successful packaging completed Openwebflow and open source to GitHub, please have the necessary peer consultation fee!Openwebflow is a Activiti-based workflow engine that does some peripheral packaging work for workflows in a Web environment.Activiti users may feel that there are some areas for improvement:
Activiti provides a demo for Web applications, but t
Label:Activiti's background is supported by the database, and all tables start with act_. The second part is a two-letter identifier that represents the purpose of the table. The use also corresponds to the API of the service. act_re_*: ' RE ' represents repository. The table for this prefix contains the process definition and process static resources (pictures, rules, etc.).act_ru_*: ' RU ' indicates runtime. These run-time
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.