confusion in decision

0
  here i want to add an expression that check if the book_order is returned , but i am not able to do so  i have a entity named book_order that has an attribute return_status which is enum and consist returned, not_returned 
asked
2 answers
1

The expression you are using only works for Xpath expressions, update it to

 

$book_order/return_status = MyFirstModule.book_return.returned

answered
0

Hi Sadhesh,

 

Instead of comparing the ‘returned’ value. try comparing it using (modulename.enumerationname.value) as shown below

 

 

Hope it helps!!!

answered