In web Designer, the conditions are not set in the gateway but in each of its outgoing flows.
What you need to do it to click on one of the outgoing flows, and in its "Conditional Expression" attribute write:
return approval == true;
Make sure that "Contitional Expression Language" is set to 'java'
Repeat the steps for the second flow.
thx works great
i got the following Error :- Process Compilation error Syntax error, insert ";" to complete Statement Syntax error,
in this case approval should be process variable?