gateway

Hello, I am creating an process with two exclusive (XOR) gateways and it is a BOOLEAN TYPE agree or disagree .I have also made in BDM a business object agreement with attributes name and respond (agree or disagree). How do i give an input to that gateway and how does the the transition takes the right path .For example the script of the transition agreement.respond=agree is correct?

 

Thank you in advance.

Hello,

Just add in the transition a condition, like (in Groovy)

return agreement.respond.equals( "agree") ;

 

Best,