Trying to create flow for automated birthday wishes email from Excel to power automate but condition of compose is not getting true for date format.
Condition gave as :-
Compose 1:-DOB (attach path from excel)
Compose 2:-addDays('1899-12-30',int(outputs('Compose')),'dd-MM-yyyy')
Compose 3:-formatDateTime(utcNow(),'dd-MM')
Apply Condition:- Output of compose 2 is equal to Output of compose 3.
Error at compose 2:-InvalidTemplate. Unable to process template language expressions in action 'Compose_2' inputs at line '0' and column '0': 'The template language function 'int' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'.
Error at compose 3:- ActionConditionFailed. The execution of template action 'Compose_3' is skipped: the 'runAfter' condition for action 'Compose_2' is not satisfied. Expected status values 'Succeeded' and actual value 'Failed'.
Error at Condition:- ActionConditionFailed. The execution of template action 'Condition' is skipped: the 'runAfter' condition for action 'Compose_3' is not satisfied. Expected status values 'Succeeded' and actual value 'Skipped'.
Error Details:-
Unable to process template language expressions in action 'Compose_2' inputs at line '0' and column '0': 'The template language function 'int' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'.
Please help me out.