Activiti Custom Process Spring Consolidation Activiti-modeler Instance (ix): Historical task Query
Source: Internet
Author: User
1. All tasks completed, the process is over, query history task or historical process to operate Act_hi_taskinst table, with the Historyservice to invoke the relevant methods.
This section samples query history tasks, and the history process no longer specializes in examples.
2. Background business code,
(1) custom Task entity classes
[Java] View Plain copy package model; import java.util.date; public class histaskmodel { private String id; private String name; private string assignee; private String processinstanceid; private Date startTime; private Date endTime; private String cause; private String content; private String taskType; public string getcause () { return cause; } public void setcause (string cause) { this.cause = cause; } public string getcontent () { return content; } public void setcontent (string content) { this.content = content; } public String 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; }
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.