AnsweredAssumed Answered

Expressions in 'readable' attribute of a formProperty

Question asked by aitor on Jun 29, 2016

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

For example:

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

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.