Hi,
I'm building a flow where I need to convert a Yes/No text field to a CDS Yes/No field
I'm using:
if(triggerBody()?['car'],"Yes",true,false)
i.e. if the input text value is Yes, I want to set the CRM field to yes (I assume this is a boolean true/false, maybe it's the wrong assumption), any other text input (i.e. No or blank), I want to set the CRM field to NO
but I'm getting an error message, can anyone point out what I'm doing wrong?
TIA 🤔