Activiti Custom Process Spring Consolidation Activiti-modeler Instance (vii): Task List Display

Source: Internet
Author: User
1. By using the previous section, you know that the process starts with a process instance and a user task that is stored in the Act_ru_task and Act_hi_task tables, indicating that RU is Runtime,hi history. However, it should be noted that, unlike the service used in the operation process, the operation is taking place rather than using Runtimeservice, but specialized taskservice.
2. Background business code,
(1) custom Task entity classes

[Java]  View Plain  copy   package model;   import java.util.date;   Public  class TaskModel {       private String id;       private String name;       private string  processInstanceId;       private String assignee;       private Date createTime;       private  string nextperson;       private String cause;        private String content;       private string  taskType;       private String processKey;        private String processDefId;          public  string&Nbsp;gettasktype ()  {           return taskType;        }          public void  Settasktype (string tasktype)  {            this.tasktype = tasktype;       }           public string getid ()  {            return id;       }          public  void setid (string id)  {            this.id = id;       }           Public string getname ()  {           return  name;       }          public void setname (String  name)  {           this.name = name;        }          public String  Getprocessinstanceid ()  {           return  processinstanceid;       }          public  void setprocessinstanceid (String processinstanceid)  {            this.processInstanceId = processInstanceId;        }          public string getassignee ()  {   

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.