Hello!
I am trying to convert True/False to Yes/No where the values have come from a 'Get_item' action.
I've tried using this expression however "True" responses are coming back as "No".
if(equals(item()?['Q1'], true),'Yes', 'No')
For reference, I am populating an MS Word template:
Wow, finally! Glad to help. 😎
OK. Try this
if(outputs('Get_item')?['body/OData__x0051_1'],'Yes', 'No')
Please show "Compose Q1" in edit mode. Are you sure there is
if(equals(outputs('Get_item')?['body/OData__x0051_1'],'true'),'Yes', 'No')
?
Sorry I don't care about 'Populate a Microsoft Word template' action.
Could you please answer my question - what do you see if you place the expression above to a new Compose action?
Aha. Try this:
if(equals(outputs('Get_item')?['body/OData__x0051_1'],'true'),'Yes', 'No')
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2