cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
webbrewer
Helper V
Helper V

Update item action on news posts always leaves items in "unpublished" state

If you update a boolean field and add a condition to check that field to prevent looping when the flow is re-triggered by the update, news post pages are always left in an "unpublished" state because the last action updates a field. I tried changing the promoted state field to "2" which technically means "published", but the pages still have to be manually republished. And of course, when you do that, you trigger the flow to run again!

The lack of a "publish" action is more of an annoyance than a critical issue, but is there any way to incorporate page publishing in a flow?

1 ACCEPTED SOLUTION

Accepted Solutions
ekarim2020
Super User
Super User

See: This seems to be achievable using SharePoint API and is explained in the following blog:  News Scheduling in SharePoint using Power Automate aka Flow Part 3: https://purple.telstra.com/blog/news-scheduling-in-sharepoint-using-power-automate-aka-flow-part-3

ekarim2020_0-1631221814118.png

Ellis

View solution in original post

2 REPLIES 2
ekarim2020
Super User
Super User

See: This seems to be achievable using SharePoint API and is explained in the following blog:  News Scheduling in SharePoint using Power Automate aka Flow Part 3: https://purple.telstra.com/blog/news-scheduling-in-sharepoint-using-power-automate-aka-flow-part-3

ekarim2020_0-1631221814118.png

Ellis

Thanks @ekarim2020  - all that was needed in my case was the send http request action, which republishes a page and oddly doesn't trigger another Flow run even though the file has changed! 

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,204)