Custom Human Task

Solution Verified - Updated -

Issue

Is it possible to create custom human task? Similarly as it is possible to create custom Work Item which behaves like service task?

The initial thought was to alter Work Item Definition like this:

import org.drools.core.process.core.datatype.impl.type.StringDataType;
[
  [
    "parameters" : [ 
        "AccountBO.Person.firstName": new StringDataType(), 
        "AccountBO.Person.lasttName" : new StringDataType(), 
        "AccountBO.Person.middleName" : new StringDataType() 
    ], 
    "results" : [ 
        "CIF_ID" : new StringDataType(), 
    ], 
    "displayName" : "AccountCreate", 
    "icon" : "defaultservicenodeicon.png" ,
  **  "name" : "User Task"**
  ]
]

So the default Human Task which is in Designer would be replaced by this one, but the task variables are not correctly configured.

Environment

  • Red Hat JBoss BPM Suite 6
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content