cancel
Showing results for 
Search instead for 
Did you mean: 

How can i check the expressions like normal java conditions

valarmathi
Champ in-the-making
Champ in-the-making
Hi,

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.

Thanks,
Valarmathi P
13 REPLIES 13

valarmathi
Champ in-the-making
Champ in-the-making
while executing this jUnit code getting the value in the my eclipse console or h2 database.

jbarrez
Star Contributor
Star Contributor
Seriously, I can't do much with that kind of information.

Please post your junit code. What line goes wrong and what you'd expect there …

valarmathi
Champ in-the-making
Champ in-the-making
Hi,

How can i check this property from the usertask .

<potentialOwner><resourceAssignmentExpression><formalExpression>sales</formalExpression></resourceAssignmentExpression></potentialOwner>

Thanks,
Valarmathi P

jbarrez
Star Contributor
Star Contributor
What do you mean with 'check'? Get the value?

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.