cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Recurrence --- post different message every day

I want to post different message on Facebook every day.

 

If today's day is 01 then "XXX"

if today;s day is 02 then "YYY"

 

How can we do this?

1 ACCEPTED SOLUTION

Accepted Solutions
efialtes
Level 8

Re: Recurrence --- post different message every day

@Anonymous

 

First of all, please note the following thread reports problems when editing Conditions in Advanced Mode. However, it used to work on May-June 2016 timeframe

https://powerusers.microsoft.com/t5/Flow-Forum/Flow-Conditions-Instantly-Fail-In-Advanced-Mode/m-p/5977/highlight/true#M1297

 

In the link above you will see some screenshots of the "Condition" block, and the option to edit it in Advanced Mode (down to the left inside the block)

 

Utcnow() used to work fine in Conditions... at least on May-June 2016 timeframe. Please see this thread as an example

https://powerusers.microsoft.com/t5/Flow-Forum/Conditions-How-to-evaluate-if-a-date-has-expired/m-p/1721/highlight/true#M219

 

View solution in original post

6 REPLIES 6
Community Support Team
Community Support Team

Re: Recurrence --- post different message every day

Hi Mhu12,

 

What dose “XXX” mean? Is it a Date?

 

It seems that when we use “Recurrence” to trigger a flow, in the action “post to my timeline on Facebook”, we can only fill a string in Status Message. When the flow run, the posted messages would be the same.
As a workaround, we can trigger the flow by clicking a button, followed by an action “post to my timeline on Facebook”. In PowerApps, add a Button and a Textbox, and configure the Text property of the Textbox to:Today(). When the button is clicked, the data in the Textbox can be posted to Facebook.

 

Please try to create a flow triggered by a button. If this still not works for you, please feel free to reply.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Re: Recurrence --- post different message every day

Thank you for your reply.

 

What I mean is:

 

If today is Friday, message will be "Hey guys, happy Friday"

If today is Saturday, message will be "Hey guys, happy Saturday"

 

I want to dynamically change the content of the string, depending on the day.

 

Can we do this with Recurrence? 

efialtes
Level 8

Re: Recurrence --- post different message every day

@Anonymous

From your example, and since there are only 7 possible values, maybe you can handle it evaluating current date with conditions. I succeded some weeks ago to implement such kind of conditions in advanced mode by using utcnow().

I know it's dirty but I cannot imagine a different solution

BR

 

Anonymous
Not applicable

Re: Recurrence --- post different message every day

Wow thank you @efialtes 

Could you please help me further?

 

1. How can you enable Advance Mode?

Where can you enter the code?

 

2. If you do not mind, could you please share part of your codes?

 

I imagine something like

 

If DayName(utcnow())="Monday" Then ("Happy Monday!")

 

 

efialtes
Level 8

Re: Recurrence --- post different message every day

@Anonymous

 

First of all, please note the following thread reports problems when editing Conditions in Advanced Mode. However, it used to work on May-June 2016 timeframe

https://powerusers.microsoft.com/t5/Flow-Forum/Flow-Conditions-Instantly-Fail-In-Advanced-Mode/m-p/5977/highlight/true#M1297

 

In the link above you will see some screenshots of the "Condition" block, and the option to edit it in Advanced Mode (down to the left inside the block)

 

Utcnow() used to work fine in Conditions... at least on May-June 2016 timeframe. Please see this thread as an example

https://powerusers.microsoft.com/t5/Flow-Forum/Conditions-How-to-evaluate-if-a-date-has-expired/m-p/1721/highlight/true#M219

 

View solution in original post

Anonymous
Not applicable

Re: Recurrence --- post different message every day

Thank you so much!

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,477)