I have Created Date and Completed Date for comparison. These dates from the SharePoint List is stored in variables. Because it is not accessible inside Do Until Loop. Hence Ticks function is not comparing properly.
For example, Created Date is assigned to a string variable and using ticks function
ticks(formatDateTime(variables('createdDate'),'MM/dd/yyyy')) compared to the Completed Date using same tick function. However it is not working as expected.