cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Setting trigger conidtions

Hi,

 

I have a trigger set to start from when a file is created in a folder as below :

 

Capture.PNG

 

The trigger is set against the a document library having the below columns. I would want to trigger the flow only when a review date is entered against a document. Can anyone advise what trigger condition is required to be written in the flow step above.

 

Capture1.PNG

1 ACCEPTED SOLUTION

Accepted Solutions

I think it's better to type in application in the search bar, it's easier to find the trigger as there're not so many results.

image.png

In your case you need to scroll down a bit.



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

View solution in original post

5 REPLIES 5
tom_riha
Super User
Super User

You can't use the 'When a file is created in a folder' trigger for that, that trigger doesn't contain any document properties = it doesn't know there's some 'Review date' in the file and what is its value.

Use the 'When a file is created (properties only)' trigger (you can select a Folder in that one as well), with a trigger condition 

@not(empty(triggerBody()?['ReviewDate']))

 



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

Hi @tom_riha 

 

The action has no trigger condition available should I put it under filter query ?

 

Capture.PNG

 

You can't just add another trigger to the existing flow, you need to create new flow with that trigger.



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

Hi @tom_riha 

 

How do I create a new flow with that trigger as I couldn't find that trigger to start a new flow creation ?

 

 

Capture.PNG

I think it's better to type in application in the search bar, it's easier to find the trigger as there're not so many results.

image.png

In your case you need to scroll down a bit.



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (6,505)