[jboss-user] [jBPM] - jbpm 4.x - Extending Tasks & task-node

Nagarajan Kanna do-not-reply at jboss.com
Mon May 2 14:33:25 EDT 2011


Nagarajan Kanna [http://community.jboss.org/people/connectwithnk] created the discussion

"jbpm 4.x - Extending Tasks & task-node"

To view the discussion, visit: http://community.jboss.org/message/603073#603073

--------------------------------------------------------------
Hi All,

We had option to extend/customize task instance in 3.x to add our own attributes - Something like:

<?xml version="1.0"?>
 <!DOCTYPE hibernate-mapping PUBLIC
     "-//Hibernate/Hibernate Mapping DTD 3.0//EN" 
     "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

  <hibernate-mapping auto-import="false" default-access="field">

    <*subclass namename="com.navteq.jbpm.extensions.AssignableTaskInstance"* 
*          extends="org.jbpm.taskmgmt.exe.TaskInstance"*
          discriminator-value="A">
     <list name="assignees" cascade="all" >
       <key column="TASKINSTANCE_" />
       <index column="TASKINSTANCEINDEX_"/>
       <one-to-many class="com.navteq.jbpm.extensions.Assignee" />
     </list>

    </subclass>
 </hibernate-mapping>



Reference:  http://www.infoq.com/articles/jBPM-user-interaction-patterns   http://www.infoq.com/articles/jBPM-user-interaction-patterns


We also had option to control automatic task creation in task-node using *create-tasks="false"*


We care currently using JBPM 4.3


* Do we have equivalent for these functionality in 4.x ? 
* If not, is there any work around to achieve this
* Am trying to add few additional attributes to JBPM4_TASK. Is there any post-task creation event handler that I can use to update information to this table ?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/603073#603073]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110502/02d9f9ad/attachment.html 


More information about the jboss-user mailing list