Hello,
I need your help on a quite simple rule
Simply I need to get a value from the bean property getDisplayRooms and to
pass it as argument to my jess-user-defined function ShowContent
Is it possible?
(defrule ProfileService-rule-2
(CurrentEvent {nameofevent == "ProfileUpdated"})
(CurrentEvent (emmiterofevent ?username) (infoofevent ?newmodel))
(User (OBJECT ?usr) {name == ?username})
=>
(?usr setModel ?newmodel)
(update ?usr)
???????????????? (bind ?newrooms (?usr getDisplayRooms))
(calling ShowContent ?newrooms)
Thank you in advance,
John.
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [email protected]'
in the BODY of a message to [email protected], NOT to the list
(use your own address!) List problems? Notify [email protected].
--------------------------------------------------------------------