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 

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Users online (70,263)