Reputation: 75
In the 7.2.0-alpha5 version of camunda-bpm I cannot see the value of the variable "complete". It only shows an empty textfield. It's working in 7.1.0-final. Did the way of addressing a variable change in 7.2.0?
Thats what it looks like in tasklist:
I guess my variable is correctly initialized at least according to cockpit:
Below is the code of my embedded-task form:
<form class="form-horizontal">
<div class="control-group">
<label class="control-label">Task Complete?</label>
<div class="controls">
<input form-field type="boolean" name="complete" readonly="true"/>
</div>
</div>
</form>
Am I doing something wrong or is it a bug?
Upvotes: 2
Views: 2311
Reputation: 574
According to the docs of the camunda BPM JS SDK your input HTML should rather look like:
<input type="text"
cam-variable-name="complete"
cam-variable-type="Boolean" />
In HTML, there's no type="boolean"
, the 'equivalent' would rather be a type="checkbox"
(but it still has to be implemented)
Upvotes: 2