[jboss-user] [jBPM] - Re: Execution Timeout on <group> and <process>

Jim Hill do-not-reply at jboss.com
Thu Feb 24 16:13:44 EST 2011


Jim Hill [http://community.jboss.org/people/jdh] created the discussion

"Re: Execution Timeout on <group> and <process>"

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

--------------------------------------------------------------
I am having the same problem and was going to present a post similar to yours.  In my case I'm running a custom java node that implements 
ExternalActivityBehaviour to wait for a messge.  The validation is specifying that one of the following is missing: 




















cvc-complex-type.2.4.a: Invalid content was found starting with element 'timer'. 
One of '{" http://jbpm.org/4.4/jpdl&quot;:description http://jbpm.org/4.4/jpdl":description, 
         " http://jbpm.org/4.4/jpdl&quot;:event-listener http://jbpm.org/4.4/jpdl":event-listener, 
         " http://jbpm.org/4.4/jpdl&quot;:hql http://jbpm.org/4.4/jpdl":hql, 
         " http://jbpm.org/4.4/jpdl&quot;:sql http://jbpm.org/4.4/jpdl":sql, 
         " http://jbpm.org/4.4/jpdl&quot;:java http://jbpm.org/4.4/jpdl":java, 
         " http://jbpm.org/4.4/jpdl&quot;:assign http://jbpm.org/4.4/jpdl":assign, 
         " http://jbpm.org/4.4/jpdl&quot;:script http://jbpm.org/4.4/jpdl":script, 
         " http://jbpm.org/4.4/jpdl&quot;:mail}' http://jbpm.org/4.4/jpdl":mail}' is expected.

I'm experiencing this problem in  JBPM 4.4.  Can anyone help Sameeh and I out here?  This is what my jpdl looks like: 
  <group name="SendTHGroup">
    <start>
      <transition name="to WaitForTH"
                  to="WaitForTH"/>
    </start>
    <custom name="WaitForTH"
            class="...WaitForMessageActivity">
      <transition name="to DidUserSendTH"
                  to="DidUserSendTH"/>
    </custom>
    <decision name="DidUserSendTH">
      <transition name="TH Sent"
           to="SendTHDone">
        <condition expr="#{className==&quot;THObject&quot;}"/>
      </transition>
      <!-- If we did not receive the TH object, keep waiting -->
      <transition name="Keep waiting"
                  to="SendTHDone"/>
    </decision>
    <end name="SendTHDone" />
  
    <transition name="toLaunchEDForm"
                to="LaunchEDForm"/>
    <transition name="timeout1" to="NotifyUserOfTimeout">
      <timer duedate="5 minutes" />
    </transition> 
  </group>          
Thanks for any help you can provide.
Jim
--------------------------------------------------------------

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

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/20110224/8a48aa58/attachment.html 


More information about the jboss-user mailing list