Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JBPM-9195] Case traceability from a Task Instance (#1680)
CorrelationKey and ProcessType added to UserTaskDescription. Existing APIs(getTaskById, getTaskByWorkItem and getTaskByProcess) are reused, since I believe is preferable to assume the performance cost of an extra join rather than having to maintain a new API for every attribute combination (specially when there is already a join because of the introduction of subject attribute)
- Loading branch information
Showing
55 changed files
with
555 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/db2/bpms-7.8-to-7.9.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE TaskEvent ADD COLUMN correlationKey varchar(255); | ||
ALTER TABLE TaskEvent ADD COLUMN processType integer; |
2 changes: 2 additions & 0 deletions
2
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/db2/jbpm-7.40-to-7.41.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE TaskEvent ADD COLUMN correlationKey varchar(255); | ||
ALTER TABLE TaskEvent ADD COLUMN processType integer; |
2 changes: 2 additions & 0 deletions
2
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/derby/bpms-7.8-to-7.9.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE TaskEvent ADD COLUMN correlationKey varchar(255); | ||
ALTER TABLE TaskEvent ADD COLUMN processType integer; |
2 changes: 2 additions & 0 deletions
2
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/derby/jbpm-7.40-to-7.41.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE TaskEvent ADD COLUMN correlationKey varchar(255); | ||
ALTER TABLE TaskEvent ADD COLUMN processType integer; |
2 changes: 2 additions & 0 deletions
2
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/h2/bpms-7.8-to-7.9.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE TaskEvent ADD COLUMN correlationKey varchar(255); | ||
ALTER TABLE TaskEvent ADD COLUMN processType integer; |
2 changes: 2 additions & 0 deletions
2
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/h2/jbpm-7.40-to-7.41.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE TaskEvent ADD COLUMN correlationKey varchar(255); | ||
ALTER TABLE TaskEvent ADD COLUMN processType integer; |
2 changes: 2 additions & 0 deletions
2
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/hsqldb/bpms-7.8-to-7.9.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE TaskEvent ADD COLUMN correlationKey varchar(255); | ||
ALTER TABLE TaskEvent ADD COLUMN processType integer; |
2 changes: 2 additions & 0 deletions
2
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/hsqldb/jbpm-7.40-to-7.41.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE TaskEvent ADD COLUMN correlationKey varchar(255); | ||
ALTER TABLE TaskEvent ADD COLUMN processType integer; |
2 changes: 2 additions & 0 deletions
2
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/mysql5/bpms-7.8-to-7.9.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE TaskEvent ADD COLUMN correlationKey varchar(255); | ||
ALTER TABLE TaskEvent ADD COLUMN processType integer; |
2 changes: 2 additions & 0 deletions
2
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/mysql5/jbpm-7.40-to-7.41.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE TaskEvent ADD COLUMN correlationKey varchar(255); | ||
ALTER TABLE TaskEvent ADD COLUMN processType integer; |
2 changes: 2 additions & 0 deletions
2
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/mysqlinnodb/bpms-7.8-to-7.9.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE TaskEvent ADD COLUMN correlationKey varchar(255); | ||
ALTER TABLE TaskEvent ADD COLUMN processType integer; |
2 changes: 2 additions & 0 deletions
2
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/mysqlinnodb/jbpm-7.40-to-7.41.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE TaskEvent ADD COLUMN correlationKey varchar(255); | ||
ALTER TABLE TaskEvent ADD COLUMN processType integer; |
2 changes: 2 additions & 0 deletions
2
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/oracle/bpms-7.8-to-7.9.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE TaskEvent ADD COLUMN correlationKey varchar(255); | ||
ALTER TABLE TaskEvent ADD COLUMN processType number(1,0); |
2 changes: 2 additions & 0 deletions
2
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/oracle/jbpm-7.40-to-7.41.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE TaskEvent ADD COLUMN correlationKey varchar(255); | ||
ALTER TABLE TaskEvent ADD COLUMN processType number(1,0); |
2 changes: 2 additions & 0 deletions
2
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/postgresql/bpms-7.8-to-7.9.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE TaskEvent ADD COLUMN correlationKey varchar(255); | ||
ALTER TABLE TaskEvent ADD COLUMN processType int2; |
2 changes: 2 additions & 0 deletions
2
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/postgresql/jbpm-7.40-to-7.41.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE TaskEvent ADD COLUMN correlationKey varchar(255); | ||
ALTER TABLE TaskEvent ADD COLUMN processType int2; |
2 changes: 2 additions & 0 deletions
2
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/sqlserver/bpms-7.8-to-7.9.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE TaskEvent ADD COLUMN correlationKey varchar(255); | ||
ALTER TABLE TaskEvent ADD COLUMN processType numeric(1,0); |
2 changes: 2 additions & 0 deletions
2
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/sqlserver/jbpm-7.40-to-7.41.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE TaskEvent ADD COLUMN correlationKey varchar(255); | ||
ALTER TABLE TaskEvent ADD COLUMN processType numeric(1,0); |
2 changes: 2 additions & 0 deletions
2
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/sqlserver2008/bpms-7.8-to-7.9.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE TaskEvent ADD COLUMN correlationKey varchar(255); | ||
ALTER TABLE TaskEvent ADD COLUMN processType smallint; |
2 changes: 2 additions & 0 deletions
2
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/sqlserver2008/jbpm-7.40-to-7.41.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE TaskEvent ADD COLUMN correlationKey varchar(255); | ||
ALTER TABLE TaskEvent ADD COLUMN processType smallint; |
2 changes: 2 additions & 0 deletions
2
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/sybase/bpms-7.8-to-7.9.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE TaskEvent ADD COLUMN correlationKey varchar(255); | ||
ALTER TABLE TaskEvent ADD COLUMN processType numeric(1,0); |
2 changes: 2 additions & 0 deletions
2
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/sybase/jbpm-7.40-to-7.41.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE TaskEvent ADD COLUMN correlationKey varchar(255); | ||
ALTER TABLE TaskEvent ADD COLUMN processType numeric(1,0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.