cancel
Showing results for 
Search instead for 
Did you mean: 

user task with custom UI implementation

sapra
Champ in-the-making
Champ in-the-making
Hi,
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.
1 REPLY 1

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Because you do not set the variable again in the process?