cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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 https://aka.ms/logicexpressions for usage details.'

 

Please guide me where i am doing wrong.

See the attachments.

PowerappsLog1.pngPowerappsLog2.png

1 REPLY 1
RezaDorrani
Dual Super User II
Dual Super User II

Hi @Anonymous 

 

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.

Thanks,
Reza Dorrani, MVP
YouTube
Twitter

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!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (3,201)