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
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.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,385)