2 Replies Latest reply on Jul 30, 2008 9:05 AM by Ronald van Kuijk

    Can't post replies [was How to Create Task without Process I

    Tom Baeyens Master

      it is in the scope and it is already supported:

      public void testTaskInstanceUnrelatedToAProcess() {
      TaskInstance taskInstance = new TaskInstance("do laundry", "someoneelse");
      long id = taskInstance.getId();


      taskInstance = (TaskInstance) session.load(TaskInstance.class, new Long(id));
      assertEquals("do laundry", taskInstance.getName());
      assertEquals("someoneelse", taskInstance.getActorId());

      is that what you need ?

      regards, tom.