AnsweredAssumed Answered

user task with custom UI implementation

Question asked by sapra on Jan 6, 2012
Latest reply on Jan 6, 2012 by ronald.van.kuijk
I use a ext-js form for my user tasks.

I store a java object in the process which I update based on whether user approves the task or not.

My object is like this :

class Service implements Serializable {
    private boolean authorized;
    // getter
    // setter
when the user approves it, the object is updated to authorized = true;

When user approves, I do the following in my backend code :
1. retrieve the object through activiti api and call the setter .
2. claim and complete the task.

what I observe is that, after the approval from user, I see authorized = true for the object.
But, my process behaves as if authorized = false.

why is this so. Why is that the process is not operating on the same object that I got through Activiti api.

Appreciate any pointers.