Bug 1077781 - Complicated remote creation of ad-hoc tasks
Summary: Complicated remote creation of ad-hoc tasks
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Marco Rietveld
QA Contact: Ivo Bek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-18 14:53 UTC by Tomas Livora
Modified: 2016-09-20 05:06 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-04 11:39:07 UTC
Type: Enhancement
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBPM-4301 0 Major Open Complicated creation of ad-hoc task through remote APIs 2016-01-04 11:33:13 UTC

Description Tomas Livora 2014-03-18 14:53:02 UTC
Description of problem:
Now there is no simple way how to create an ad-hoc task using REST or JMS.

Version-Release number of selected component (if applicable):
6.0.1 ER2

Steps to Reproduce:
1. Try to create a new ad-hoc task remotely using REST or JMS.
2. See that AddTaskCommand takes as a parameter Task object.

Actual results:
To create an instance of Task class you have to use TaskImpl class that is "internal" class and is not part of the jBPM 6 API. You also have to initialize a lot of its attributes (and their attributes recursively) to be able to successfully create a new ad-hoc task.

Expected results:
AddTaskCommand (or the new one) should take as parameters some basic information that is needed to create an ad-hoc task. They can be similar to the parameters of the addTask method in QuickNewTaskPresenter (https://github.com/droolsjbpm/jbpm-console-ng/blob/master/jbpm-console-ng-human-tasks/jbpm-console-ng-human-tasks-client/src/main/java/org/jbpm/console/ng/ht/client/editors/quicknewtask/QuickNewTaskPresenter.java#L116).

Additional info:
It should be considered not only adding a new command class which will simplify the creation of an ad-hoc task but also creating a new method directly in the TaskService.

Comment 2 Marco Rietveld 2014-11-19 20:56:24 UTC
This is a feature request that I was not able to fulfill for 6.1.0. 

Removed 6.1.0+ flag and requesting 6.2.0+ flag.

Comment 3 Tomas Livora 2016-01-04 11:39:07 UTC
I am closing this as not a bug since it is an enhancement and covered in Jira by JBPM-4301.


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