Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- properties {
- actionType: 'condition' | 'action' | 'for'
- condition
- ["AND",
- {"var1" : "value1"},
- ["OR",
- { "var2" : "value2" },
- { "var3" : "value3" }
- ]
- ]
- event {
- }
- action {
- type: mail
- meta: {
- body:
- to:
- }
- type: file
- meta: {
- file:
- to:
- }
- type: quiz
- meta: {
- options: [
- 'option 1',
- 'option 2'
- ],
- }
- type: link ???????????????
- type: sms
- meta: {
- to:
- body:
- }
- type: push
- meta: {
- to:
- body:
- }
- type: create
- meta: {
- ????
- }
- }
- for {
- }
- }
- // Complex conditional expressions
- https://jsonlogic.com/
- https://github.com/jwadhams/json-logic-php
- https://github.com/jwadhams/json-logic-js/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement