TaskData object not storing Comments, CreatedOn, ExpirationTime in BPMS/BRMS 6
Issue
- While creating new task via AddTaskCommand created date it gets set to null. Please see code snippet below
TaskImpl task = new TaskImpl();
TaskDataImpl taskData = new TaskDataImpl();
taskData.setCreatedOn(new Date());
task.setTaskData(taskData);
Command<?> cmd = (Command<?>)new AddTaskCommand(task,new ContentDataImpl());
When the task is created the createdOn date is null. The same thing happens if I try to set an expiry date or date on a task comment
Environment
- Red Hat JBoss BPM Suite
- 6.0.x
- Red Hat JBoss BRMS
- 6.0.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.