[
https://jira.jboss.org/jira/browse/JBPM-2309?page=com.atlassian.jira.plug...
]
Joram Barrez resolved JBPM-2309.
--------------------------------
Resolution: Done
Added executionId/activityName to Task interface:
String currentActivity = task.getActivityName();
String pdId =
executionService.findExecutionById(task.getExecutionId()).getProcessDefinitionId();
ProcessDefinition processDefinition = repositoryService.createProcessDefinitionQuery()
.processDefinitionId(pdId)
.uniqueResult();
Add method to support getTaskDefinition and getProcessInstance from
interface Task
----------------------------------------------------------------------------------
Key: JBPM-2309
URL:
https://jira.jboss.org/jira/browse/JBPM-2309
Project: JBoss jBPM
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.0.CR1
Reporter: steven wang
Assignee: Joram Barrez
Fix For: jBPM 4.0
To support task management capabilities in console, The operations supported by Task
interface is not enough. It would be better to add method to support getTaskDefinition and
getProcessInstance from interface Task.
For reference, see
https://jira.jboss.org/jira/browse/JBPM-286, jBPM 3.1 supports such
methods.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira