Hi all,
I'm trying to write a trigger condition on a workflow, I'm using when an item is created, and I need the modified date is equal or greater than today, then I have a status field, and this value should be "completed" this is what I have written but is not triggering the workflow. Any help will be greatly appreciated. Thanks!!!
Date:
@and(equals(triggerOutput()?['output/Modified'], utcNow(),'mm-dd-yyyy')), greater(triggerBody()?['body/Modified'], formatDateTime(utcNow(),'mm-dd-yyyy')))
Status:
@equals(triggerOutputs()?['body/Status'], 'Completed')