Watcher webhook custom json

Hay all

I am trying to get my head around customise the body of an webhook so instead of just ctx i like to out put for example

"date trigger":"",
"event level": "ctx.evlevel"

thanks in advance


the correct way would be to create that object (as a hashmap) in a script via a transform and then use "body":"{{#toJson}}ctx.my_object{{/toJson}}" in the watch action.

See and

hope this helps!


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.