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
Community Champion
Community Champion

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
Community Champion
Community Champion

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

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (830)