AnsweredAssumed Answered

Historic FormProperties

Question asked by ronnybr on Jan 10, 2013
Latest reply on Jan 14, 2013 by ronnybr
Hell Activiti-Community,

I have a little problem with the HistoryService and HistoricFormProperties.

According to the User Guide this Query:

should get
[…] all form-properties that were submitted in any task or when starting the process with id "123"

My own query looks like this:
      String processInstanceId = historyService
      List<HistoricDetail> historicFormProperties = historyService
and the XML of my Start-Element like this:

    <startEvent id="_8" isInterrupting="true" name="neues Praxissemester" parallelMultiple="false">
        <activiti:formProperty id="student" name="Student" required="true" type="string" variable="student"/>
        <activiti:formProperty id="studentMail" name="Student-Mail-Adresse" required="true" type="string" variable="studentMail"/>
        … more FormProperties

So when starting the process and calling the method with the HistoryService it doesn't deliver any HistoricFormProperties. After finishing the first task in the process (which also has one FormProperty) the HistoryService only delivers that one.

Do I forget another necessary parameter when building the query or is it a problem within Activiti?