Is it possible for a trigger condition to access environment variables? I've tried a couple of times unsuccessfully. I feel like I have the syntax correct based on the function reference documentation. Wondering if anyone has any insight on this. Perhaps it's not possible yet?
EX: @equals(triggerOutputs()['headers']?['runKey'],parameters('VARIABLENAME'))
Flow is comprised of a request trigger, some data actions, then finally a response action. In powershell I am running a Invoke-RestMethod. I have validation that everything works with a hard coded value. Once I attempt using an environment variable I see this message...
Invoke-RestMethod: {"error":{"code":"InvalidTemplate","message":"The template validation failed: 'The workflow parameter 'VARIABLENAME' is not found.'."}}
I recently found this feature request as well.

Report
All responses (
Answers (