SlideShare a Scribd company logo
1 of 26
Download to read offline
SharePoint Saturday NYC
Express Yourself:
Building Expressions
with Microsoft Flow
THANK YOU
EVENT SPONSORS
We appreciate you supporting the
New York SharePoint Community!
• Diamond, Platinum, Gold, & Silver
have tables scattered throughout
• Please visit them and inquire about
their products & services
• To be eligible for prizes make sure to
get your bingo card stamped by ALL
sponsors
• Raffle at the end of the day and you
must be present to win!
EVALS / PRIZES
Bring all items to the 6th Info Desk
• Bingo Cards = how you win prizes at
the end of the event
• The cards must be stamped by ALL the
Sponsors by the last session (4pm)
• Fill out the speakers evaluation
(located in the front of the rooms)
• Fill out the event evaluations
And more …
Surface Go
Xbox One X
ABOUT ME
• 8+ yeas in SharePoint
• SharePoint Citizen Developer
• Microsoft Flow Evangelist
• Active Flow Community Member
• Blogger
AGENDA
• Expressions Overview
• Types of Expressions
• How Expressions Work
• Where Expressions Can Be Used
• Data Types
• Expression Functions
• Actions Replaced by Expressions
• Limitations
• Demos
faustocapellan.com
6
Overview
EXPRESSIONS OVERVIEW
• Set of functions that can be used for many different things
• Manipulate strings
• Convert data types
• Perform logical functions
• Retrieve and manipulate date and time
• Perform math function
• Flow leverages the Azure Logic Apps Workflow Definition Language
faustocapellan.com
8
TYPES OF EXPRESSIONS
Basic
Contain one function with one or more parameters
faustocapellan.com
9
TYPES OF EXPRESSIONS
Advanced
Contain more than one function with one or more parameters
faustocapellan.com
10
HOW EXPRESSIONS WORK
• Expressions are executed the same way as math operations: from
inside out
addDays(timestamp, days, format)
addDays(startOfMonth(utcNow()), -1, ‘MM-dd-yyyy’)
faustocapellan.com
11
Parameter 1 Parameter 2 Parameter 3
Demo: Basic and Advanced Expressions
WHERE EXPRESSIONS CAN BE USED
Actions
faustocapellan.com
13
WHERE EXPRESSIONS CAN BE USED
Conditions
faustocapellan.com
14
DATA TYPES
• String
Represent alphanumeric data such as letters, numbers, spaces, symbols, punctuation marks
• Integer
Whole numbers without decimal. Can be either positive, negative, or zero
• Float
Decimal number
• Boolean
Represents two values: true or false
faustocapellan.com
15
DATA TYPES (Continued…)
• Arrays
Represent a collection of elements, each selected by one or more indices (identifying keys)
that can be computed at runtime during the execution of a program
• Dictionaries
Represent a collection of key and value, and provides a mapping of the set of keys with their
values. Every key in a Dictionary must be unique and cannot be null
• Forms
Contain elements called controls - textbox, dropdown, radio button - and each control
manages a specific data type. These controls are used to display information to the user or
receive information from the user
faustocapellan.com
16
EXPRESSION FUNCTIONS
• String Functions
Can be used to manipulate strings, such as concatenate strings, replace a string within a
string, and convert strings to upper or lowercase
• Collection Functions
Operate over collections and generally apply to Arrays, Strings, and sometimes Dictionaries
• Logical Functions
Can be used to evaluate any type of logic within Flow, such as If and Equals
faustocapellan.com
17
EXPRESSION FUNCTIONS (Continued…)
• Conversion Functions
Can be used to convert data between each of the native types, such as String, Integer, Float,
Boolean, Arrays, Dictionaries, and Forms
• Math Functions
Can be used to do calculations for either type of numbers: integers or floats
• Date and Time Functions
Can be used to retrieve and format date and time, convert time zones, add days, and get
future and past time
faustocapellan.com
18
EXPRESSION FUNCTIONS (Continued…)
• Workflow Functions
Get information about the workflow itself at runtime, such as name, type, id, location, and run
• URI Parsing Functions
Provide the ability to parse URLs. From a given URL, you can select hostname, path, port,
scheme, and query segments
• Manipulation Functions
Apply to XML and JSON objects. Some are used to return the first non-null object passed in
an argument, while others are used to add, set, or remove properties from an object
faustocapellan.com
19
ACTIONS REPLACED BY EXPRESSIONS
• Expressions that can be used to replace some actions
if(expression, valueIfTrue, valueIfFalse)
first(collection)
last(collection)
faustocapellan.com
20
Demo: Actions Replaced By Expressions
LIMITATIONS
• Expression Evaluation Limit
• A Flow expression can evaluate up to 131,072 characters
• Max Number of Characters Per Expression
• Flow allows a maximum of 8,192 characters per expression
faustocapellan.com
22
Demo: Due Tasks Notifications
SUMMARY
Expressions Overview
Types of Expressions
How Expressions Work
Where Expressions Can Be Used
Data Types
Expression Functions
Actions Replaced By Expressions
Limitations
Demos
faustocapellan.com
24
SHAREPINT
Beer Authority
300 W 40h St
[across the street]
Join us for a round of drinks
http://www.beerauthoritynyc.com
CONTACT ME
fausto@vecaent.com
@fcapellanjr
LinkedIn
Blog

More Related Content

Similar to Express Yourself: Building Expressions with Microsoft Flow - SPSNYC 2018

New York City Meetup- 6th March 2021
New York City Meetup- 6th March 2021New York City Meetup- 6th March 2021
New York City Meetup- 6th March 2021NeerajKumar1965
 
ActionScript
ActionScript ActionScript
ActionScript Edison
 
An R primer for SQL folks
An R primer for SQL folksAn R primer for SQL folks
An R primer for SQL folksThomas Hütter
 
Programming in java basics
Programming in java  basicsProgramming in java  basics
Programming in java basicsLovelitJose
 
Data and functional modeling
Data and functional modelingData and functional modeling
Data and functional modelingSlideshare
 
FFW Gabrovo PMG - JavaScript 1
FFW Gabrovo PMG - JavaScript 1FFW Gabrovo PMG - JavaScript 1
FFW Gabrovo PMG - JavaScript 1Toni Kolev
 
1.4 Work with data types and variables, numeric data, string data.pptx
1.4 Work with data types and variables, numeric data, string data.pptx1.4 Work with data types and variables, numeric data, string data.pptx
1.4 Work with data types and variables, numeric data, string data.pptxVGaneshKarthikeyan
 
🌺 Women in Automation Program: Become an RPA Developer with UiPath Studio Ses...
🌺 Women in Automation Program: Become an RPA Developer with UiPath Studio Ses...🌺 Women in Automation Program: Become an RPA Developer with UiPath Studio Ses...
🌺 Women in Automation Program: Become an RPA Developer with UiPath Studio Ses...Cristina Vidu
 
Women in Automation 2023- UiPath Studio Session 2.pdf
Women in Automation 2023- UiPath Studio Session 2.pdfWomen in Automation 2023- UiPath Studio Session 2.pdf
Women in Automation 2023- UiPath Studio Session 2.pdfUiPathCommunity
 
Multi dimension aggregations using spark and dataframes
Multi dimension aggregations using spark and dataframesMulti dimension aggregations using spark and dataframes
Multi dimension aggregations using spark and dataframesRomi Kuntsman
 
Eswc lsagrsv9-boris-110602060147-phpapp02
Eswc lsagrsv9-boris-110602060147-phpapp02Eswc lsagrsv9-boris-110602060147-phpapp02
Eswc lsagrsv9-boris-110602060147-phpapp02Victor Saquicela
 
pandas: Powerful data analysis tools for Python
pandas: Powerful data analysis tools for Pythonpandas: Powerful data analysis tools for Python
pandas: Powerful data analysis tools for PythonWes McKinney
 
Tableau course curriculum
Tableau course curriculumTableau course curriculum
Tableau course curriculumMadhukar Reddy
 
ds 1 Introduction to Data Structures.ppt
ds 1 Introduction to Data Structures.pptds 1 Introduction to Data Structures.ppt
ds 1 Introduction to Data Structures.pptAlliVinay1
 
Chap_________________1_Introduction.pptx
Chap_________________1_Introduction.pptxChap_________________1_Introduction.pptx
Chap_________________1_Introduction.pptxRonaldo Aditya
 

Similar to Express Yourself: Building Expressions with Microsoft Flow - SPSNYC 2018 (20)

David buksbaum a-briefintroductiontocsharp
David buksbaum a-briefintroductiontocsharpDavid buksbaum a-briefintroductiontocsharp
David buksbaum a-briefintroductiontocsharp
 
New York City Meetup- 6th March 2021
New York City Meetup- 6th March 2021New York City Meetup- 6th March 2021
New York City Meetup- 6th March 2021
 
ActionScript
ActionScript ActionScript
ActionScript
 
An R primer for SQL folks
An R primer for SQL folksAn R primer for SQL folks
An R primer for SQL folks
 
Programming in java basics
Programming in java  basicsProgramming in java  basics
Programming in java basics
 
Data and functional modeling
Data and functional modelingData and functional modeling
Data and functional modeling
 
FFW Gabrovo PMG - JavaScript 1
FFW Gabrovo PMG - JavaScript 1FFW Gabrovo PMG - JavaScript 1
FFW Gabrovo PMG - JavaScript 1
 
1.4 Work with data types and variables, numeric data, string data.pptx
1.4 Work with data types and variables, numeric data, string data.pptx1.4 Work with data types and variables, numeric data, string data.pptx
1.4 Work with data types and variables, numeric data, string data.pptx
 
C++ ch2
C++ ch2C++ ch2
C++ ch2
 
🌺 Women in Automation Program: Become an RPA Developer with UiPath Studio Ses...
🌺 Women in Automation Program: Become an RPA Developer with UiPath Studio Ses...🌺 Women in Automation Program: Become an RPA Developer with UiPath Studio Ses...
🌺 Women in Automation Program: Become an RPA Developer with UiPath Studio Ses...
 
Women in Automation 2023- UiPath Studio Session 2.pdf
Women in Automation 2023- UiPath Studio Session 2.pdfWomen in Automation 2023- UiPath Studio Session 2.pdf
Women in Automation 2023- UiPath Studio Session 2.pdf
 
R programmingmilano
R programmingmilanoR programmingmilano
R programmingmilano
 
Multi dimension aggregations using spark and dataframes
Multi dimension aggregations using spark and dataframesMulti dimension aggregations using spark and dataframes
Multi dimension aggregations using spark and dataframes
 
Office
OfficeOffice
Office
 
Eswc lsagrsv9-boris-110602060147-phpapp02
Eswc lsagrsv9-boris-110602060147-phpapp02Eswc lsagrsv9-boris-110602060147-phpapp02
Eswc lsagrsv9-boris-110602060147-phpapp02
 
pandas: Powerful data analysis tools for Python
pandas: Powerful data analysis tools for Pythonpandas: Powerful data analysis tools for Python
pandas: Powerful data analysis tools for Python
 
Tableau course curriculum
Tableau course curriculumTableau course curriculum
Tableau course curriculum
 
ds 1 Introduction to Data Structures.ppt
ds 1 Introduction to Data Structures.pptds 1 Introduction to Data Structures.ppt
ds 1 Introduction to Data Structures.ppt
 
Chap_________________1_Introduction.pptx
Chap_________________1_Introduction.pptxChap_________________1_Introduction.pptx
Chap_________________1_Introduction.pptx
 
#CNX14 - Intro to Force
#CNX14 - Intro to Force#CNX14 - Intro to Force
#CNX14 - Intro to Force
 

Recently uploaded

Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 

Recently uploaded (20)

Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 

Express Yourself: Building Expressions with Microsoft Flow - SPSNYC 2018

  • 3. THANK YOU EVENT SPONSORS We appreciate you supporting the New York SharePoint Community! • Diamond, Platinum, Gold, & Silver have tables scattered throughout • Please visit them and inquire about their products & services • To be eligible for prizes make sure to get your bingo card stamped by ALL sponsors • Raffle at the end of the day and you must be present to win!
  • 4. EVALS / PRIZES Bring all items to the 6th Info Desk • Bingo Cards = how you win prizes at the end of the event • The cards must be stamped by ALL the Sponsors by the last session (4pm) • Fill out the speakers evaluation (located in the front of the rooms) • Fill out the event evaluations And more … Surface Go Xbox One X
  • 5. ABOUT ME • 8+ yeas in SharePoint • SharePoint Citizen Developer • Microsoft Flow Evangelist • Active Flow Community Member • Blogger
  • 6. AGENDA • Expressions Overview • Types of Expressions • How Expressions Work • Where Expressions Can Be Used • Data Types • Expression Functions • Actions Replaced by Expressions • Limitations • Demos faustocapellan.com 6
  • 8. EXPRESSIONS OVERVIEW • Set of functions that can be used for many different things • Manipulate strings • Convert data types • Perform logical functions • Retrieve and manipulate date and time • Perform math function • Flow leverages the Azure Logic Apps Workflow Definition Language faustocapellan.com 8
  • 9. TYPES OF EXPRESSIONS Basic Contain one function with one or more parameters faustocapellan.com 9
  • 10. TYPES OF EXPRESSIONS Advanced Contain more than one function with one or more parameters faustocapellan.com 10
  • 11. HOW EXPRESSIONS WORK • Expressions are executed the same way as math operations: from inside out addDays(timestamp, days, format) addDays(startOfMonth(utcNow()), -1, ‘MM-dd-yyyy’) faustocapellan.com 11 Parameter 1 Parameter 2 Parameter 3
  • 12. Demo: Basic and Advanced Expressions
  • 13. WHERE EXPRESSIONS CAN BE USED Actions faustocapellan.com 13
  • 14. WHERE EXPRESSIONS CAN BE USED Conditions faustocapellan.com 14
  • 15. DATA TYPES • String Represent alphanumeric data such as letters, numbers, spaces, symbols, punctuation marks • Integer Whole numbers without decimal. Can be either positive, negative, or zero • Float Decimal number • Boolean Represents two values: true or false faustocapellan.com 15
  • 16. DATA TYPES (Continued…) • Arrays Represent a collection of elements, each selected by one or more indices (identifying keys) that can be computed at runtime during the execution of a program • Dictionaries Represent a collection of key and value, and provides a mapping of the set of keys with their values. Every key in a Dictionary must be unique and cannot be null • Forms Contain elements called controls - textbox, dropdown, radio button - and each control manages a specific data type. These controls are used to display information to the user or receive information from the user faustocapellan.com 16
  • 17. EXPRESSION FUNCTIONS • String Functions Can be used to manipulate strings, such as concatenate strings, replace a string within a string, and convert strings to upper or lowercase • Collection Functions Operate over collections and generally apply to Arrays, Strings, and sometimes Dictionaries • Logical Functions Can be used to evaluate any type of logic within Flow, such as If and Equals faustocapellan.com 17
  • 18. EXPRESSION FUNCTIONS (Continued…) • Conversion Functions Can be used to convert data between each of the native types, such as String, Integer, Float, Boolean, Arrays, Dictionaries, and Forms • Math Functions Can be used to do calculations for either type of numbers: integers or floats • Date and Time Functions Can be used to retrieve and format date and time, convert time zones, add days, and get future and past time faustocapellan.com 18
  • 19. EXPRESSION FUNCTIONS (Continued…) • Workflow Functions Get information about the workflow itself at runtime, such as name, type, id, location, and run • URI Parsing Functions Provide the ability to parse URLs. From a given URL, you can select hostname, path, port, scheme, and query segments • Manipulation Functions Apply to XML and JSON objects. Some are used to return the first non-null object passed in an argument, while others are used to add, set, or remove properties from an object faustocapellan.com 19
  • 20. ACTIONS REPLACED BY EXPRESSIONS • Expressions that can be used to replace some actions if(expression, valueIfTrue, valueIfFalse) first(collection) last(collection) faustocapellan.com 20
  • 21. Demo: Actions Replaced By Expressions
  • 22. LIMITATIONS • Expression Evaluation Limit • A Flow expression can evaluate up to 131,072 characters • Max Number of Characters Per Expression • Flow allows a maximum of 8,192 characters per expression faustocapellan.com 22
  • 23. Demo: Due Tasks Notifications
  • 24. SUMMARY Expressions Overview Types of Expressions How Expressions Work Where Expressions Can Be Used Data Types Expression Functions Actions Replaced By Expressions Limitations Demos faustocapellan.com 24
  • 25. SHAREPINT Beer Authority 300 W 40h St [across the street] Join us for a round of drinks http://www.beerauthoritynyc.com