web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform integration forum

how to write a trigger condition

(1) ShareShare
ReportReport
Posted on by 2
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')
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Power Platform integration

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans