How can I access variables from constraint?

Version 1

    Hi,

     

    I have a big problem. I created a process with human tasks and I would like to use the variables in constraint, which posted from human task form.

     

    Example:

    I post "employee" variable from form of human task and I write in the split workitem's constraint:

     

    if (employee == "alma") {

    System.out.println("Success");

    }

    else {

    System.out.println("Not success");

    }

     

    I commit the process to guvnor and I would like to build it.

     

    I get a error: Process compilation error employee cannot be resolved

     

    Could anybody help me in this problem?

     

     

    Thanks,

    Csaba