Forum Discussion
This method is still not working. it still always gives "false" even the value of a.body_params.header.Action is "InternalNoteChanged". any idea how to make it work?
How about the capitalization in the Jinja expression? Change Action to action.
{{a.body_params.header.action === 'RecordUpdate'}}
------------------------------
Don Larson
------------------------------
- ChayceDuncan2 years agoQrew Captain
Can you post a picture of the webhook response that goes along with your screenshot above?
You technically don't need the if condition at all - the response of a.body_params.header.Action == 'something' will return true / false as the default behavior or a comparator condition such as that.
From your screenshot though, something seems off with how you're doing the actual pipeline expression and then evaluate condition. So in this case it looks like your expression of == "InternalNoteChanged" - return true, is returning properly. But your actual pipeline step says 'Evalute to FALSE' so if in fact the type is InternalNoteChanged - you're still going to skip over because the Pipeline is looking for False
------------------------------
Chayce Duncan
------------------------------