2020-11-08 19:23:54 UTC - Pavel Kravchenko: Hello, is there a way to create trigger with parameters using openwhisk npm? It seems that according to documentation params is missing in optional parameters for triggers.create
<https://www.npmjs.com/package/openwhisk> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1604863434256600?thread_ts=1604863434.256600&cid=C3TPCAQG1 ---- 2020-11-08 20:24:49 UTC - Pavel Kravchenko: Resolved. In case anyone encounter same issue, solution is to explicitly provide a custom trigger parameters to triggers.create options dictionary, e.g. ```ow.triggers.create({ name: 'hello', overwrite: true, trigger: {parameters: [{"key":"hello","value":"world"}]}}).then(result => { console.log('trigger with props created'); });``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1604867089256800?thread_ts=1604863434.256600&cid=C3TPCAQG1 ----