{"action":"created","issue":{"url":"https://api.github.com/repos/surveyjs/surveyjs/issues/1197","repository_url":"https://api.github.com/repos/surveyjs/surveyjs","labels_url":"https://api.github.com/repos/surveyjs/surveyjs/issues/1197/labels{/name}","comments_url":"https://api.github.com/repos/surveyjs/surveyjs/issues/1197/comments","events_url":"https://api.github.com/repos/surveyjs/surveyjs/issues/1197/events","html_url":"https://github.com/surveyjs/surveyjs/issues/1197","id":335373037,"node_id":"MDU6SXNzdWUzMzUzNzMwMzc=","number":1197,"title":"Use expression property in triggers instead of: name, operator and value","user":{"login":"andrewtelnov","id":5655108,"node_id":"MDQ6VXNlcjU2NTUxMDg=","avatar_url":"https://avatars0.githubusercontent.com/u/5655108?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewtelnov","html_url":"https://github.com/andrewtelnov","followers_url":"https://api.github.com/users/andrewtelnov/followers","following_url":"https://api.github.com/users/andrewtelnov/following{/other_user}","gists_url":"https://api.github.com/users/andrewtelnov/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewtelnov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewtelnov/subscriptions","organizations_url":"https://api.github.com/users/andrewtelnov/orgs","repos_url":"https://api.github.com/users/andrewtelnov/repos","events_url":"https://api.github.com/users/andrewtelnov/events{/privacy}","received_events_url":"https://api.github.com/users/andrewtelnov/received_events","type":"User","site_admin":false},"labels":[{"id":576919595,"node_id":"MDU6TGFiZWw1NzY5MTk1OTU=","url":"https://api.github.com/repos/surveyjs/surveyjs/labels/Implemented","name":"Implemented","color":"006b75","default":false},{"id":750448349,"node_id":"MDU6TGFiZWw3NTA0NDgzNDk=","url":"https://api.github.com/repos/surveyjs/surveyjs/labels/breaking%20change","name":"breaking change","color":"dd7593","default":false},{"id":247746345,"node_id":"MDU6TGFiZWwyNDc3NDYzNDU=","url":"https://api.github.com/repos/surveyjs/surveyjs/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-25T11:49:53Z","updated_at":"2018-07-13T14:41:46Z","closed_at":"2018-07-06T07:08:05Z","author_association":"MEMBER","body":"Triggers may have only one condition right now. There is no way to set the multiple conditions by using \"and\" and \"or\" operands.\r\n\r\nThe old way is continue to work. You may use both: name, operator and value or expression.\r\nEditor will convert name, operator and value into expression and save into json expression only, if you go to Triggers tab and confirm changes."},"comment":{"url":"https://api.github.com/repos/surveyjs/surveyjs/issues/comments/404853806","html_url":"https://github.com/surveyjs/surveyjs/issues/1197#issuecomment-404853806","issue_url":"https://api.github.com/repos/surveyjs/surveyjs/issues/1197","id":404853806,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDg1MzgwNg==","user":{"login":"akhoury","id":1398375,"node_id":"MDQ6VXNlcjEzOTgzNzU=","avatar_url":"https://avatars3.githubusercontent.com/u/1398375?v=4","gravatar_id":"","url":"https://api.github.com/users/akhoury","html_url":"https://github.com/akhoury","followers_url":"https://api.github.com/users/akhoury/followers","following_url":"https://api.github.com/users/akhoury/following{/other_user}","gists_url":"https://api.github.com/users/akhoury/gists{/gist_id}","starred_url":"https://api.github.com/users/akhoury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akhoury/subscriptions","organizations_url":"https://api.github.com/users/akhoury/orgs","repos_url":"https://api.github.com/users/akhoury/repos","events_url":"https://api.github.com/users/akhoury/events{/privacy}","received_events_url":"https://api.github.com/users/akhoury/received_events","type":"User","site_admin":false},"created_at":"2018-07-13T14:41:46Z","updated_at":"2018-07-13T14:41:46Z","author_association":"NONE","body":"Oh i thought this is a trigger expression support, something like \r\n```javascript\r\n    triggers: [\r\n      {\r\n        condition: \"{life-event} == 'moving' || {life-event} == 'inst' || {life-event} == 'loss'\",\r\n        setToName: \"part-a-active\",\r\n        setValue: \"yes\"\r\n      }\r\n    ],\r\n```"}}
{"actor":{"display_login":"akhoury"}}