Proper If Statement Structure

I have an IF statement that is not behaving as I would expect it to.

{{if(1.executed_actions.info_extractor_call_outcome.return_value.call_outcome + “=”“Requested Removal”“”; “Requested Removal”; “Contacted”)}}

It is returning Requested Removal no matter what value is in call_outcome.

Another IF statement in the same scenario is also failing to produce the expected results:

{{if(1.executed_actions.info_extractor_call_outcome.return_value.call_outcome + “=”“Live Transfer”“”; “pending”; “ready”)}}

What am I doing wrong?

I believe I found my problem. I was typing “=” rather than using the proper = include.

3 Likes

Glad you were able to figure it out @Brent_Allison