I want to check the normal java conditions like a<b ,if condition is true send the mail to user otherwise end the task . how can i do it .Please help me.
In this case, the sales group will be set as candidateGroup for your user task. Put the value in a process variable if you want to 'check' its value, and reference the process variable with an expression in your xml.