I am currently working on a laptop gate pass for my place of work. I am using Power Apps to display the user and laptop details for the user to submit their request for a laptop gate pass.
I have a Power Apps trigger in my Flow, then I create the item in SharePoint list and add an Approval step for the newly created request/item, after the request has been approved I want to generate a PDF as the laptop gate pass and attach this to an email notification back to the user.
However when I add an Approval step I get the error below, please help me on how to fix this.
InvalidTemplate. Unable to process template language expressions in action 'Start_an_approval' inputs at line '1' and column '2588': '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_sharepointonline, shared_onedriveforbusiness'. Please see https://aka.ms/logicexpressions for usage details.'.
Solved! Go to Solution.
Can you post a screen shot of your Flow? That will make it much easier to assist.
You could try to solve your problem using the following methods:
Check out the new Process Advisor community forum board!
Check out new user group experience and if you are a leader please create your group
Participate in the Power Virtual Agents Community Challenge
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.