Advertisement
gasaichan

Пример 1

Dec 23rd, 2020
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. properties {
  2. actionType: 'condition' | 'action' | 'for'
  3. condition
  4. ["AND",
  5. {"var1" : "value1"},
  6. ["OR",
  7. { "var2" : "value2" },
  8. { "var3" : "value3" }
  9. ]
  10. ]
  11. event {
  12.  
  13. }
  14. action {
  15. type: mail
  16. meta: {
  17. body:
  18. to:
  19. }
  20. type: file
  21. meta: {
  22. file:
  23. to:
  24. }
  25. type: quiz
  26. meta: {
  27. options: [
  28. 'option 1',
  29. 'option 2'
  30. ],
  31. }
  32. type: link ???????????????
  33. type: sms
  34. meta: {
  35. to:
  36. body:
  37. }
  38. type: push
  39. meta: {
  40. to:
  41. body:
  42. }
  43. type: create
  44. meta: {
  45. ????
  46. }
  47.  
  48. }
  49. for {
  50.  
  51. }
  52. }
  53.  
  54.  
  55. // Complex conditional expressions
  56. https://jsonlogic.com/
  57. https://github.com/jwadhams/json-logic-php
  58. https://github.com/jwadhams/json-logic-js/
  59.  
  60.  
  61.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement