AnsweredAssumed Answered

Expressions in 'readable' attribute of a formProperty

Question asked by aitor on Jun 29, 2016
Hello,

Is it possible to add a expression in a "readable" attribute of a formProperty?

For example:



<userTask …>
    <extensionElements>
        <activiti:formProperty id="test_property" name="Test Property" type="string" readable="${other_property=='concrete_value'}"></activiti:formProperty>
    </extensionElements>
</userTask>



If I do this, I always get "readable = false" to consult:


List<FormProperty> formList = formService.queryTaskFormData(taskId).getFormProperties();


And if that is not possible, is there any other way to approach this? I need to control the display of a formProperty according to the value of another variable of the process.

Thanks.

Outcomes