[jboss-user] [jBPM] - jbpm-console is not displaying task in start node

Mehmet Salgar do-not-reply at jboss.com
Thu Sep 9 07:21:30 EDT 2010


Mehmet Salgar [http://community.jboss.org/people/speleomaniac] created the discussion

"jbpm-console is not displaying task in start node"

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

--------------------------------------------------------------
Hi everybody,

I have a problem with jbpm 3.2.7...

I had the following process, as you may see I have a task at start node and I am expecting that jbpm-console create a task with the form that I deployed a task when I create an instance of the process but that doesn't happening.

If I signal to the transition out of start-state as you may see second node is a task node and jbpm creates the task and display the task form....

Am I doing something wrong here? (below I would place the forms.xml also and I seeing that in the archive forms.xml and xhtml are included...)

Second part of the question would be, the concept of blocking and non-blocking task is confusing me...in the workflow if I don't trigger a transition that workflow should wait at the task, so what is the meaning of the blocking, non-blocking here.

And a final question, I tried to verify the problem exists also in 4.4 and I created a process definition for it also, I think it is not possible any more to define a task in start node or? And Graphical Designer has no support to creates forms for 4.4. processes....(below you can find my 4.4 version of the process) and what would be trigger to leave the start and go into first task.....

Thx for the answers

process


<?xml version="1.0" encoding="UTF-8"?>
<process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="sample_process">
     <swimlane name="Marketing">
          <assignment expression="group(Marketing)"/>
     </swimlane>
     <swimlane name="Campaign Manager">
          <assignment expression="group(Campaign Manager)"/>
     </swimlane>
     <swimlane name="Promo Definition Cockpit">
          <assignment expression="group(Promo Definition Cockpit)"/>
     </swimlane>
     <start-state name="Create Ticket in Tool">
          <task swimlane="Marketing" name="Create Ticket in Tool">
               <controller>
                    <variable access="read,write,required" name="ticketName" mapped-name="Ticket Name"/>
               </controller>
          </task>
          <transition to="Attach Document" name="Done"/>
     </start-state>
     <task-node name="Attach Document">
          <task name="Attach Document" swimlane="Marketing">
               <controller>
                    <variable access="read,write" name="document" mapped-name="Document"/>
               </controller>
          </task>
          <transition to="end-state1" name="Done"/>
     </task-node>
     <end-state name="end-state1"/>
</process-definition>


forms.xml

<forms>
  <form task="Create Ticket in Tool" form="CreateTicketinTool.xhtml"/>
  <form task="Attach Document" form="AttachDocument.xhtml"/>
</forms>


forms.xml
 
<forms>
  <form task="Create Ticket in Tool" form="CreateTicketinTool.xhtml"/>
  <form task="Attach Document" form="AttachDocument.xhtml"/>
</forms>



process 4.4


<?xml version="1.0" encoding="UTF-8"?>
<process name="jbpm4" xmlns="http://jbpm.org/4.4/jpdl">
     <swimlane name="Marketing"/>
     <start g="263,69,48,48" name="start1">
          <transition g="-146,-17" name="Done" to="Create Ticket in  Tool"/>
     </start>
     <task g="214,190,144,52" name="Create Ticket in Tool" swimlane="group(Marketing)">
          <transition name="Done" to="Attach Document" g="-151,-18"/>
     </task>
     <task name="Attach Document" g="193,324,187,52" swimlane="group(Marketing)">
          <transition name="to end1" to="end1" g="-42,-18"/>
     </task>
     <end name="end1" g="262,442,48,48"/>
</process>
--------------------------------------------------------------

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

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/20100909/e345543b/attachment.html 


More information about the jboss-user mailing list