1 2 Previous Next 18 Replies Latest reply on May 23, 2006 9:15 PM by aguizar Go to original post
      • 15. Re: Problem in required field attribute in default form cont
        kukeltje

        ok, part of it. The swimlane definition is more important. Can you post that to?

        • 16. Re: Problem in required field attribute in default form cont

           

          <?xml version="1.0" encoding="UTF-8"?>
          
          <process-definition
           xmlns="" name="resignation">
           <swimlane name="Employee"></swimlane>
           <swimlane name="Manager">
           <assignment expression="previous --> group(hierarchy) --> member(boss)"></assignment>
           </swimlane>
           <swimlane name="SBU Admin">
           <assignment expression="user(sbuadmin)"></assignment>
           </swimlane>
           <swimlane name="Librarian">
           <assignment expression="user(librarian)"></assignment>
           </swimlane>
           <swimlane name="Accountant">
           <assignment expression="user(accountant)"></assignment>
           </swimlane>
           <swimlane name="admin">
           <assignment expression="user(admin)"></assignment>
           </swimlane>
           <swimlane name="hr">
           <assignment expression="user(hr)"></assignment>
           </swimlane>
           <start-state name="Create new resignation application">
           <task name="Create new resignation application" swimlane="Employee">
           <controller>
           <variable name="Name" access="read,write,required"></variable>
           <variable name="PSNo" access="read,write,required"></variable>
           <variable name="Department"></variable>
           <variable name="Reason" access="read,write,required"></variable>
           <variable name="Superiorid"></variable>
           </controller>
           </task>
           <transition name="" to="Send Mail to sbu head and manager"></transition>
           </start-state>


          • 17. Re: Problem in required field attribute in default form cont
            becka

            whats now with the problem?
            is there already a workaround or still not fuctioning

            • 18. Re: Problem in required field attribute in default form cont
              aguizar

              there is no problem here; as Ronald says, jBPM only checks required variables when you end() the task instance.
              The end() call needs not be explicit. You can have jBPM end all tasks that are still open when the token leaves the task node by setting the end-tasks attribute to yes.

              1 2 Previous Next