AnsweredAssumed Answered

How to get from properties based on task definition id

Question asked by samarjit on Mar 31, 2015
Latest reply on Apr 24, 2015 by samarjit
I would like to enumerate the form properties based on task definition id (AlertQueueTask or AlertQueue).

   <userTask id="AlertQueueTask" name="AlertQueue">
        <activiti:formProperty id="AlertName" name="AlertName" type="string"></activiti:formProperty>
        <activiti:formProperty id="Carrier" name="Carrier" type="string"></activiti:formProperty>
        <activiti:formProperty id="DepDate" name="DepDate" type="date"></activiti:formProperty>

Currently closest I could find was retrieval form+data using from fromService using taskId- formService.getTaskFormData(taskId);

On a seperate note I would like to store some fixed properties per task, which is the right place to keep such data. For example I need to store the above  list AlertName,Carrier,DepDate per task definition. Which is the right place to store it?