12 Replies Latest reply on Feb 14, 2007 6:20 AM by kukeltje

    type of variables

    jbmpuser

      Hello all!!!

      I work with jboss jbpm 3.1.
      I have a process definition, and I have a task for every node.
      For example:
      <start-state name="Entrada reclamación">


















      </start-state>

      like you can look, I have a variable called "Fecha reclamacion (date reclamation)". This variable must be type date, but I can write chars, for example. Then, how do I tell the type of variables???

      I'm sorry my bad english!!!
      Thank you all!!!

        • 1. Re: type of variables
          jbmpuser

          Hello all!!!

          I work with jboss jbpm 3.1.
          I have a process definition, and I have a task for every node.
          For example:
          <start-state name="Entrada reclamacion">









          </start-state>

          like you can look, I have a variable called "Fecha reclamacion (date reclamation)". This variable must be type date, but I can write chars, for example. Then, how do I tell the type of variables???

          I'm sorry my bad english!!!
          Thank you all!!!

          • 2. Re: type of variables
            jbmpuser

            I don't know because it can't see well.
            The variable is:



            • 3. Re: type of variables
              romeufigueira

              place your code within [ code] [ /code] tags (without the leading spaces)

              • 4. Re: type of variables
                jbmpuser

                Thank you.

                I work with jboss jbpm 3.1.
                I have a process definition, and I have a task for every node.
                For example:

                <start-state name="Entrada reclamación">







                </start-state>


                like you can look, I have a variable called "Fecha reclamacion (date reclamation)". This variable must be type date, but I can write chars, for example. Then, how do I tell the type of variables???

                I'm sorry my bad english!!!
                Thank you all!!!

                • 5. Re: type of variables
                  jbmpuser

                  I'm sorry very much!!!! but I don't know :( :( :(

                  I work with jboss jbpm 3.1.
                  I have a process definition, and I have a task for every node.
                  For example:


                  <start-state name="Entrada reclamación"> </start-state>


                  like you can look, I have a variable called "Fecha reclamacion (date reclamation)". This variable must be type date, but I can write chars, for example. Then, how do I tell the type of variables???

                  I'm sorry my bad english!!!
                  Thank you all!!!

                  • 6. Re: type of variables
                    jbmpuser

                    :( :( :( :( :( :( the last time!!!!

                    Code of this variable is:



                    I'm sorry very much!!!

                    • 7. Re: type of variables
                      jbmpuser

                      Now I going to write the code of variable without tags...

                      task name="rellenar información" swimlane="usuario"
                      controller
                      variable name="Fecha reclamación" access="read,write,required"
                      variable
                      controller
                      task

                      • 8. Re: type of variables
                        kukeltje

                        There is a preview option you know.... and you'll be surprised what other functionality you will find there. (tags for inserting code e.g.)

                        • 9. Re: type of variables
                          jbmpuser

                          Ronald, you answer don't help me with the type of variable

                          Please, I need help with the type of variable. For example, I have a variable of type varchar, why can I write numbers???

                          thank you!!!

                          • 10. Re: type of variables
                            kukeltje

                            jbpm does not check this, if you do not fill the wariable on process startup. The ui should (for the moment) check this (lots of discussion on this in the forum, open issue in the jira etc... so there is lots of info on this if you SEARCH for it)

                            • 11. Re: type of variables
                              jbmpuser

                              thank you ronald.
                              but I am use the app of example (http://localhost:8080/jbpm)
                              how can I modify it to check this?? what class or page .jsp??

                              • 12. Re: type of variables
                                kukeltje

                                There was one word in capitals in my previous post.... it is hard to mis