This is probably so obvious and probably why I am missing it, but this keeps failing telling me I only have 2 of the 3 components of the IF function. This function is in a Set Variable for a String variable.
if(
equals(items('Roadmaps_-_Add_or_Update_Existing_Items')?['Short description2'],'Go-Live'),
formatDateTime(items('Roadmaps_-_Add_or_Update_Existing_Items')?['Planned Start Date'], 'MM/dd/yyyy'),
formatDateTime(items('Roadmaps_-_Add_or_Update_Existing_Items')?['Actual Start Date'], 'MM/dd/yyyy')
)
Error message:
InvalidTemplate. Unable to process template language expressions in action 'Set_variable' inputs at line '0' and column '0': 'The template language function 'if' expects three parameter: the condition to test as the first parameter, the value to return if the condition is true as the second parameter, and the value to return if the condition is false as the third parameter. The function was invoked with '2' parameter(s)