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

List all RSS feed items

I'm just reading the blog post here https://flow.microsoft.com/en-us/blog/fotw-remind-to-post/   and my question is 

 

in the expression 

@less(string(first(body('List_all_RSS_feed_items'))['publishDate']), addDays(utcnow(),-10))

How did we know that we had to specify ?  ['publishDate]    is 'publishdate' a field name in the RSS ? I see PubDate, but not PublishDate ; am I missing something here ?

 

Thank you

 

serge Luca

1 ACCEPTED SOLUTION

Accepted Solutions

ok; so the answer was that after running the flow, we can see the body content in the flow history. And the action  maps pubdate to publishdate 

View solution in original post

3 REPLIES 3
v-monli-msft
Community Support
Community Support

Hi Serge Luca,

 

This advanced mode condition is for checking to see if any of those posts happened in the last 10 days. The only thing you need to specify is the "-10" number which means how many last days to check.  

 

For better understanding, you can have look at the detailed steps of this template:

https://flow.microsoft.com/en-us/galleries/public/templates/2d97b9500b6511e78c2e9d11ef1d0c12/remind-...

 

This flow will help you to post to your blog on a regular interval. It will look at your Blog every day, and send you an email reminder if there haven't been any posts in the past 10 days. See if this flow could meet your requirement.

 

About advanced mode in condition, you can use any expression from the Workflow definition language here.

Functions available:
Workflow Definition Language schema for Azure Logic Apps

https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-definition-language

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello Mona,

 

thank you for the answer.

I'm aware of theWorkflow definition language (WDL) and also that we can specify the number of days in this specific example.

My question is not about how to use this example and to customize it to fit my need, but more about how the author knew that:

 

in the object returned by the List_all_RSS_feed_item action , the objects stored in the body had a column ['publishDate] ?

When I check the raw RSS (see https://sergeluca.wordpress.com/feed/), I only see "pubdate" and not ['publishDate'] ; does that mean that the List_all_RSS_feed_item action internally create an array of object with a column ['publishDate'] instead of ["pubdate"] as we can find in the raw rss feed for blog post ? If that is the case where is it described in the documentation of this action ? or how did he author of the post knew it ?

 

This is not described in the WDL documentation.

 

ok; so the answer was that after running the flow, we can see the body content in the flow history. And the action  maps pubdate to publishdate 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,033)