PowerAutomate - perreaultcourtney/NBIFsummer_projects GitHub Wiki
- Can be used to assign/determine a value in an expression.
ex: "accountName": "@parameters('customerName')"
(taken from reference guide, linked below)
- syntax when writing functions within expressions (peak code)
general: "@functionName(<item>)
nesting: "@functionName(functionName2(<item>))"
**output of functionName2() is the input of functionName**
using reference from output: "@functionName(<item>).propertyName"
**output of functionName() has a property propertyName**
- Symbols and functions:
Symbol/Function Name | Use/Purpose | Example |
---|---|---|
@ | allows function within expression | |
? | returns null rather than thrrowing excep. | |
parameters() | get the value for a given key | parameters('refNumber') returns RIF_2015_004 |
- Using a flow logic element to determine a condition always creates a run.
- Trigger conditions allow the Flow to determine if it should even run at all.
- Dynamic Content is not available for Trigger so must use expressions/functions.
- The function must return a boolean value.
- How to:
- select the three dots in the top right corner of the Trigger Card.
- select 'Settings'
- select 'Trigger Conditions
* to use more than one condition, select '+ Add' at the bottom.
-
Intro to Trigger Conditions (with example):
https://www.timlinenterprises.com/microsoft-power-automate-flow-trigger-conditions/ -
Reference for Functions:
https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference