Bug 1122784 - Requesting to enhance "WorkItemManager.abortWorkItem()" so that users can pass parameters to get Task Status upon completion of calls like "taskService.fail()"
Summary: Requesting to enhance "WorkItemManager.abortWorkItem()" so that users can pas...
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Core
Version: 6.0.2
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: Kris Verlaenen
QA Contact: Ivo Bek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-24 05:15 UTC by Musharraf Hussain
Modified: 2020-03-27 20:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 20:11:51 UTC
Type: Feature Request
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBPM-4393 0 Minor Open Pass task status the same way as actorId 2016-02-25 15:33:39 UTC
Red Hat Issue Tracker JBPM-4394 0 Minor Open Pass results even is HumanTask is not completed (e.g. failed) 2016-02-25 15:33:39 UTC

Description Musharraf Hussain 2014-07-24 05:15:37 UTC
Description of problem:
* This Bugzilla is raised for incorporating the following related feature requests in the future releases of BPMS 6.x .

- Currently it is not possible for "WorkItemManager.abortWorkItem()" to pass parameters upon it's call. It can prove useful in scenarios like calling to "taskService.fail(..)" to pass on information like reason for the task to fail.
~~~
Right now a call to taskService.fail(task.getId(), "john", params); leaves no way to access params because they are not passed if work item was aborted (e.g. HT was failed).
But it would be nice if we would be able to use the params in this case to e.g. specify why the task was failed.
~~~
The following "Feature Request" JIRA [1] captures this request in Community.

- If the aforementioned request is incorporated it would be also good if we could have a dedicated variable like "TaskStatus" or "ExistStatus" to give users the access to the status of the Task when it is completed/failed etc.
~~~
It would be great if you could add a variable like "TaskStatus" or "ExitStatus" that contains the exit status of a HumanTask (e.g. "Completed", "Failed", "Error", "Exited", "Obsolete") lifecycle.
Could be done the same way as "ActorId" is implemented to contain the actor for the completed task so that it can be assigned to a process variable.
~~~
The following "Feature Request" JIRA [2] captures this request in Community.

[1] https://issues.jboss.org/browse/JBPM-4394
[2] https://issues.jboss.org/browse/JBPM-4393

Version-Release number of selected component (if applicable):
- BPMS 6.0.2

How reproducible:
- This is just a Feature Request and the features requested here do not exist in current release.

Steps to Reproduce:
1. Not Applicable
2.
3.

Actual results:
- Not Applicable

Expected results:
- Not Applicable

Additional info:
- Not Applicable


Note You need to log in before you can comment on or make changes to this bug.