AnsweredAssumed Answered

UserTask Follow Up Date

Question asked by mason6 on Jun 22, 2015
Latest reply on Jun 24, 2015 by martin.grofcik
I am wondering how is possible to add followUpDate attribute to some element in background, because class UserTask.java does not contains this attribue (there is only dueDate attribute).

    <userTask id="task2" name="Name2" activiti:assignee="demo" activiti:dueDate="2015-05-01" followUp></userTask>

What I want:

    <userTask id="task2" activiti:assignee="demo" activiti:followUpDate="2015-04-01"  activiti:dueDate="2015-05-01" name="Name2">


Code behind - where I want to set this attribute:

     UserTask userTask = new UserTask();
      userTask.setName("Name2");
      userTask.setId("task2");
      userTask.setAssignee(assignee);
      userTask.setDueDate("2015-05-01");
      //HOW TO SET ATTRIBUTE followUpDate?


How can I achive that?

Outcomes