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
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,696)