Process variables propagation

1
0
-1

Hello, I don't understand how to propagate process variables in a specific process instance.

1)

I've set a "java.util.ArrayList" "clientsarray" process variable at the pool level, that is initialized like this:

// import com.company.model.Clients;

// return new ArrayList Clients ();

2)

Then in another activity I'm building this clientsarray list, it's size is 4 at the end of the task when logging the content.

3)

Then I have an exclusive gateway and when testing clientsarray.size() as trigger it's null whereas it was 4 in the task before.

What is wrong in my implementation please ? Are process variables propagated end to end for a specific process instance aren't they ?

Thanks a lot for your help,

Pierre-Alain

No answers yet.
Notifications