web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Trigger Condition - wh...
Power Automate
Unanswered

Trigger Condition - when page is published/republished

(0) ShareShare
ReportReport
Posted on by

We are using SharePoint for our intranet site and each program area creates/updates their own site pages.  I'm using PowerAutomate to break inheritance and assign unique permissions (i.e. only the content owner may edit the page, etc.). But the flow keeps triggering when the page is autosaved while in edit mode.

Is there a way I can add a trigger condition to check for the version (OData__UIVersionString)?

Currently, my flow runs and terminates when the version does not end with .0

body('Send_an_HTTP_request_to_SharePoint_Get_Site_Page')['d']['OData__UIVersionString']

 

 

 

Categories:
I have the same question (0)
  • pgnmrc Profile Picture
    2 on at

    you can check the value of 

    body('Send_an_HTTP_request_to_SharePoint_Get_Site_Page')['d']['CheckoutUserId']

    If it is null, it means that it has been published and is not in editing mode (it is not an autosave).

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard