Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

PO Approval flow

I am working on Purchase Order Approval using PowerApp. I am getting error on the "Start and wait for an approval" step.

Here is the error description: 

'Unable to process template language expressions in action 'Start_and_wait_for_an_approval' inputs at line '1' and column '2766': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_approvals']['connectionId']' cannot be evaluated because property 'shared_approvals' doesn't exist, available properties are 'shared_sendmail'. Please see for usage details.'


Please guide me where i am doing wrong.

See the attachments.


Dual Super User II
Dual Super User II

Re: PO Approval flow

Hi @waqar 


Re-trigger the flow from the Power App.

If you make changes to the flow and manually run it - it will complain about the connections.


If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Reza Dorrani, MVP

Helpful resources

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,376)