FirstOrDefault
This Flow Script tutorial explains how to use the FirstOrDefault function with syntax and examples.
Last updated
Was this helpful?
Was this helpful?
FirstOrDefault(color, [Id:'C5', Color:'pink'])
Result: Id: C1, Color: red - as Record
FirstOrDefault(emptyTable, [Id:'C5', Color:'pink'])
Result: Id: C5, Color: pink - as Record
FirstOrDefault( table(a, b), [a: 0, b: 0])
Result: [a: 0, b: 0] - as Record