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 / Unable to get the docu...
Power Automate
Unanswered

Unable to get the document Id inside the Set Approval Status action

(0) ShareShare
ReportReport
Posted on by 3,506

We have the following flow:-

 

johnjohn123_0-1660765517804.png

johnjohn123_1-1660765565675.png

 

now when i tried to get the document id using this formula @{triggerOutputs()?['body/ID']} , i get this error:-

 

The 'inputs.parameters' of workflow operation 'Set_content_approval_status' of type 'OpenApiConnection' is not valid. Error details: The resolved string values for the following parameters are invalid, they may not be null or empty: 'id'

 

 

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @johnjohn123 

    You need to add a Get file metadata action.  Be sure to include the ETag in the Set content approval action.

    image.png

  • johnjohn123 Profile Picture
    3,506 on at

    @ScottShearer  thanks but the "set approval status" is raising this error "Bad Gateway"

     

    johnjohn123_0-1660767664069.png

     

    inside the DL i have content approval + minor/major enabled

  • ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @johnjohn123 

    Please post screen shots of your Flow as currently configured.

     

    Thanks

  • ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @johnjohn123 

    I just ran a test and it looks like set content approval doesn't like major an minor versions - I got the same error as you show.  It might work on a published version but I haven't tested that....

     

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard