code to achieve complex data presentation, data editing, form processing and other functions, With the use of code generators to increase Java EE development efficiency by more than 6 times times, you can reduce the code by more than 60%.JEECG V3.0 version Four technical points: 1. Code generator 2.UI Rapid Development Library 3. Online process design 4. System Logging Technology point one: code generator, support a variety of data models, according to the table generated corresponding Entity,s
1. Create a Task List page--Query the list of tasks owned by the user based on nickname as assignee2. Add the handle button after the task3. Click the handle button, the process box appears, which shows detailed information about the task, the details of the customer in this example4. Create a specific Task table page for each business object, pass in the business object type ClassType, its ID (objId), and the task ID, and the Formkey5. In the process box, by sending the Formkey to the controlle
should not be emptyAssert.assertnotnull (E1); Double Money=2888.8d; //set the process variable money as the basis of judgment to the process variableRunservice.setvariable (E1.getid (), "Money", Money); //signals that the current node execution is completerunservice.signal (E1.getid ()); //Process Judgment if(money) {Execution E2=runservice.createexecutionquery (). Processinstanceid (PID). ActivityID ("Send SMS ID to Boss"). Singleresult (); Assert.assertnotnull (E2); System.o
Set Process variables:----------------1. Set the process variables collection when the process is started, as follows:by Runtimeservice.startprocessinstancebykey (DEFINITIONKEY,MAP); Map represents a collection of multiple process variables----------------2. Set through the task service object during task execution, as follows:Sets the set of process variables by Taskservice.setvariables (taskId).Sets the value of the process variable for the specified name by taskservice.getvariable (Taskid,var
After the process definition is deployed, nature is a list of process definitions, but as in the previous section, this is no different from the previous Activiti, so it's not much to say. Let's take a look at the list page and the corresponding code, and then step-by-step instructions on how to invoke the custom form form when you click the Start button.The Process Definition List page is as follows:The corresponding HTML code:The corresponding ANGUL
When deploying two processes with Servicetask tasks to the database, it was found that it could not be imported and finally analyzed the following issues: 1) Process 1 is intended to allow timed start events to be triggered hourly because it was OK to test with r/2015-11-01t01:00:00/p1m. , after the final test plan you copy to another project deployment, the intention is to be executed hourly, so you can change to r/2015-11-01t01:00:00/p1hThe result is that the deployment has failed and should a
corresponding HELLOWORLD.BPMN fileSystem.out.println ("Key for process definition:" +processdefinition.getkey ());//the value of the id attribute in the corresponding HELLOWORLD.BPMN fileSystem.out.println ("version of the process definition:" +processdefinition.getversion ());//when the key value of the process definition is the same, the version is upgraded by default starting from 1System.out.println ("Resource Name BPMN file:" +processdefinition.getresourcename ()); System.out.println ("Res
corresponding HELLOWORLD.BPMN fileSystem.out.println ("Key for process definition:" +pd.getkey ());//the value of the id attribute in the corresponding HELLOWORLD.BPMN fileSystem.out.println ("version of the process definition:" +pd.getversion ());//when the key value of the process definition is the same, the version is upgraded, the default 1System.out.println ("Resource Name BPMN file:" +pd.getresourcename ()); System.out.println ("Resource name PNG file:" +pd.getdiagramresourcename ()); Sys
This function is very interesting, with it, you can not apply HTML way to display the form, such as can be used swing objectClass Myformengine implements formengine{@overridePublic String GetName (){return "Myformengine";}@overridePublic Object Renderstartform (Startformdata startform){Javax.swing.JButton JButton = newJavax.swing.JButton (); jbutton.setname ("My Start Form button");return JButton;}@overridepublic override Rendertaskform (Taskformdata taskform){.....}}Then to register the form en
query interface (no need to select logistics company, according to the automatic identification of the number)9 Call camera photo Customize crop edit avatar, avatar picture chroma Adjust10 code Editor, online template editing, copy development tool editor, PDF online Preview, file conversion code11 Video playback Technology video barrage technology, multiplayer Instant Messenger http://www.fhadmin.org/Video: Link: https://pan.baidu.com/s/1bq5UAIF Password: fe4iJava
different numbers of libraries) support n data sources8 Express Number Logistics query interface (no need to select logistics company, according to the automatic identification of the number)9 Call camera photo Customize crop edit avatar, avatar picture chroma Adjust10 code Editor, online template editing, copy development tool editor, PDF online Preview, file conversion code11 Video playback Technology video barrage technology, multi-person instant communication bomb screen ChatBlog Source: ht
Activiti-engine-5.22.0-sources.jarPackage org.activiti.engine.impl.cfg;StandaloneinmemprocessengineconfigurationThe H2 database's in memory process engine configuration.Activiti-spring-5.22.0-sources.jarPackage org.activiti.spring;Springprocessengineconfiguration,The process engine configuration that integrates with spring, of course, can be used with MySQL.Activiti Source: Standaloneinmemprocessengineconfiguration and Springprocessengineconfiguration
When we use Activiti to do the task. is to see the task form, how do we do it.
Let me talk about the whole jump process:
First of all, we click on the processing Task----> link to the control layer of the process---> then jump to the control layer of the business method-----> Get the business object of the ID corresponding to the control layer of the business-----> finally return to the process of the form interface
First, we get the action and I
There is a point of judgment in Activiti, branching out your process, but it is possible to have a value that points to the left side, not the right branch. How does this happen to keep the process going?
This is a BPMN screenshot, the above conditions to determine the left side is the day of sales greater than or equal to 10000, and the left side is the day sales less than 1000, the two branches, but if the sales are less than 10000 but more than
According to the previous article's configuration, Servicetask has been able to invoke WebService with @webparam and @webresult releases, but how to invoke the webservice of these publications without these parameters, Because other languages do not @webparam these parameters, consider the following example:Counter.javaAfter publishing, the WSDL file is as follows (key content):We will find that the first parameter name of the Prettyprintcounttwo method defaults to arg0, and the second parameter
Activiti simple application, the application of monitoring to achieve a simple business particles and workflow integration, so that the process driven business particles to carry out the process, the flow chart of the application of multiple branches, and the process of judgment value set as parameters, from the foreground pass past.
New normal Java class:
Package Com.tgb.itoo.activiti.controller;
public class XS {public
static void SayHello () {
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.