Forum Discussion

DiegoGravina's avatar
DiegoGravina
Copper Contributor
Oct 10, 2024

Configuring Approval Flow for News Posts Only in SharePoint

I’m creating a SharePoint site for my HR team to manage and share organizational announcements. On the home page, I’ve added the News web part to showcase these updates. I would like to trigger the out-of-the-box approval process whenever a new News post is created.

However, when I enable the default approval flow, it applies to all pages in the Page Library. This means that any time a page is edited or created, the approval process is triggered. I only want the approval flow to be activated for News posts.

The HR site will contain other pages that don’t need approval for edits. How can I configure the out-of-the-box approval flow so that only News posts trigger the approval process, while other pages can be edited without requiring approval?

 

  • Hi Diego,

    You should modify approval workflow template to include a condition that apply only on News.
    The problem that is a news is a site page content type, well you need to add a column to be able to specify in news property that is a news.
    I suggest that you create a new column in your site pages list, type of Yes/No with the name News and default value false.
    Then, when you create a news the right side panel give you access from properties to this news column. You just have to click on yes.
    Then, in your flow you can add a condition on this new column to run approval only on pages with news to Yes.

    Hope it will be helpfull,
    Have nice day,
    Rdgs,
    Valentin
  • vlecerf's avatar
    vlecerf
    Iron Contributor
    Hi Diego,

    You should modify approval workflow template to include a condition that apply only on News.
    The problem that is a news is a site page content type, well you need to add a column to be able to specify in news property that is a news.
    I suggest that you create a new column in your site pages list, type of Yes/No with the name News and default value false.
    Then, when you create a news the right side panel give you access from properties to this news column. You just have to click on yes.
    Then, in your flow you can add a condition on this new column to run approval only on pages with news to Yes.

    Hope it will be helpfull,
    Have nice day,
    Rdgs,
    Valentin
  • I would suggest creating a new SharePoint site specifically for your News articles and nothing else. You can then roll the News articles from that site into your main site. This would provide separation of Pages vs. News Articles. Definitely an option that aligns with good architecture.

Resources