cancel
Showing results for 
Search instead for 
Did you mean: 

Unknown type 'Boolean' while deploying the zip file

joycentiong
Champ in-the-making
Champ in-the-making
I am a newbie and trying to do a tutorial and deploying the *.bpmn20.xml and the form files. Below is the content of one of the form (I copy from the tutorial):

<h1>Pizza Order Request</h1>

<p>
  Pizza Validation Order Request
</p>

<p>
  <table>
    <tr>
      <td>
        <label>
          Number of pizza order:<br/>
          <input type="text" name="numberOfPizzaOrder" value="${numberOfPizzaOrder}" />
          <input type="hidden" name="numberOfPizzaOrder_type" value="Integer" />
        </label>
      </td>
    </tr>
    <tr>
      <td>
        <label>
           No of pizza:<br/>
           <input type="text" name="amount" value="${amount}"/>
           <input type="hidden" name="amount_type" value="Integer"/>
        </label>
      </td>
    <tr>
    <tr>
      <td>
        <label>
           Type of pizza:<br/>
           <input type="text" name="pizza" value="${pizza}"/>
           <input type="hidden" name="pizza_type" value="String"/>
        </label>
      </td>
    <tr>
    <tr>
      <td>
        <label>
           Is the pizza order valid?<br/>
           <input type="radio" name="pizzaOrderToOven" value="true" checked>Yes<br/>
           <input type="radio" name="pizzaOrderToOven" value="false">No
           <input type="hidden" name="pizzaOrderToOven_type" value="Boolean"/>
        </label>
      </td>
    <tr>
   
  </table>
</p>

While tring to deploy the zip file in the Activiti Explorer it is returning:

unknown type 'Boolean', 'String', and 'Integer'

What am I doing wrong?

Thanks for the help.
4 REPLIES 4

sebastian_s
Champ in-the-making
Champ in-the-making
Are you talking about this tutorial? http://java.dzone.com/articles/tutorial-devoxx-activiti-bpmn

I have not been using any forms till now but one thing I noticed is that the example code which is given for the second form in the tutorial does not include any type-attributes.

joycentiong
Champ in-the-making
Champ in-the-making
Sebastian,

Nice to hear from you. I found the issues and it is resolved.

you mentioned that this is the first time you are using form. So my question is? What type of form where you using before? Are you using Vaadin for front-end development?


some call it Europe, I call it the place (Aachen) that I used to come across and now I am in USA.

Thanks again.

sebastian_s
Champ in-the-making
Champ in-the-making
Hello joycentiong,

the frontend for task management is our own Java Swing application. Could you be a more specific on how you resolved your problem? This would help others searching to solve their problems related to task forms.

Nice to hear you once had the occasion to see Charlemagne's favourite place - the wonderful city of Aachen. Smiley Wink

Cheers
Sebastian

joycentiong
Champ in-the-making
Champ in-the-making
Sebastian,

I used Boolean instead of boolean as described in the Activiti User Guide.

In fact I use everything uppercase instead of lowecase for all data types.

Again thanks.