3 Replies Latest reply on Feb 20, 2008 11:12 AM by aymen houissa

    problem with task form view

    aymen houissa Newbie

      hi,
      i've a problem, when i deploy a process and try to see the task form (or the variables) the page don't show me what i need.
      while the websale example run very nicely
      please respond to me

        • 1. Re: problem with task form view
          Ronald van Kuijk Master

          this is to little info to give you a good answer. The only thing I can say now is: something is not right......

          post e.g.:
          - the form xhtml
          - forms.xml
          - the processdefinition

          Then we can have a look.

          • 2. Re: problem with task form view
            aymen houissa Newbie

            there is my processdefinition:

            <?xml version="1.0" encoding="UTF-8"?>
            
            <process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="conge">
            
            
             <start-state name="demande conge">
             <task name="send demande">
             <assignment actor-id="user"></assignment>
             <controller>
             <variable access="read,write,required" name="numero" mapped-name="numero"></variable>
             </controller>
             </task>
             <transition to="approbation DG" name="envoyer"></transition>
             </start-state>
            
            
             <task-node name="approbation DG">
             <task name="evaluate demande">
             <assignment actor-id="admin"></assignment>
             <controller>
             <variable access="read" name="numero" mapped-name="numero"></variable>
             <variable access="read,write,required" name="decision" mapped-name="decision"></variable>
             </controller>
             </task>
             <transition to="end" name="Ok"></transition>
             </task-node>
            
            
             <end-state name="end"></end-state>
            
            
            </process-definition>
            

            and about the forms, i generated it after entering variables
            help please


            • 3. Re: problem with task form view
              aymen houissa Newbie

              Oh thanks,
              i find the problem, i named the start state "demande conge" but the form generated is named "demande-conge"
              so we shouldn't setting a name including a space letter.otherwise we remember to adjust the similarity between tne task name and the form task