2 Replies Latest reply on Mar 29, 2006 1:02 PM by pedro costa

    deploy processdefinition

    pedro costa Apprentice

      When i try to deploy my process definition via eclipse, my process definition is deployed, except the action.

      This is my process definition:

      <?xml version="1.0" encoding="UTF-8"?>
      <process-definition name="Avarias">
       <start-state name="start">
       <transition name="OK" to="Viatura imobilizada?"></transition>
       <end-state name="end"></end-state>
       <state name="Viatura imobilizada?">
       <transition name="OK" to="Requer assistência no local?"></transition>
       <transition name="NOK" to="Fechar ocorrencia?"></transition>
       <state name="Requer assistência no local?">
       <transition name="NOK" to="Fechar ocorrencia?"></transition>
       <transition name="OK" to="Fechar ocorrencia?">
       <action name="sendMail" action="com.link.bem.jbpm.action.SendMailHandler"></action>
       <state name="Fechar ocorrencia?">
       <transition name="OK" to="end">
       <action name="closeOccurrence" action="com.link.bem.jbpm.action.CloseOccurrenceHandler"></action>

      When i deploy the processdefinition, the actions name are saved in the action table of jbpm database, but the actions class aren't saved in the jbpm database.

      I don't understand why. What's wrong?

        • 1. Re: deploy processdefinition
          Ronald van Kuijk Master

          check the following:
          - are the actions in the same project?
          - did you make a typo (case sensitivity)
          - are the classes in a source directory?
          - are they automatically build (you need a .class file)


          • 2. Re: deploy processdefinition
            pedro costa Apprentice

            Thanks for the quick answer, but here is the structure of my project

            inside sources directory i have this:



            The java file appears in the form class, in the bin directory.

            inside bin directory i have this:


            Is this right?

            I don't know if this struture is in the right form. But, i would like to maintain this structure.