PowerAutomate - perreaultcourtney/NBIFsummer_projects GitHub Wiki

Functions

  • 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

Dynamic Content


Trigger Conditions

  • 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:
  1. select the three dots in the top right corner of the Trigger Card.
  2. select 'Settings'
  3. select 'Trigger Conditions
    * to use more than one condition, select '+ Add' at the bottom.

References

⚠️ **GitHub.com Fallback** ⚠️