daily pastebin goal
47%
SHARE
TWEET

Untitled

a guest Sep 14th, 2018 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. declare USER1_LIST
  2.      querysetUser1 :JSONArray
  3. end
  4. declare USER2_LIST
  5.      querysetUser2 :JSONArray
  6. end
  7. ......
  8. ......
  9. ......
  10.    
  11. rule "setUp"
  12. salience 25
  13. when
  14. then
  15. USER1_LIST user1_list = new USER1_LIST();
  16. user1_list.setQuerysetUser1(new JSONArray());
  17. insert(user1_list);
  18. ....
  19.    
  20. rule "RULE_XYZ"
  21. salience 5
  22. when
  23. USER1_LIST($querysetUser1 :querysetUser1)
  24. ...<Some code>
  25. then
  26. ...<Some code>
  27. $querysetUser1.add(...);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top