Logo Barret Codes
  • Home
  • About
  • Engage With Me
  • Recent Posts
  • Posts
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Tags
  • .NET
  • .NET Aspire
  • Advent-of-Code-2021
  • Advent-of-Code-2022
  • Adventures-in-Net
  • AI
  • AI Builder
  • Ai-Art
  • Alexa
  • Api
  • Application-Insights
  • Approval-Flows
  • April-Dunham
  • Architecture
  • Ardalis
  • Asp-Net-Core
  • Aspire
  • Axug
  • Azure
  • Azure Back to School
  • Azure Cognitive Services
  • Azure Data Factory
  • Azure-App-Service
  • Azure-Devops
  • Azure-Functions
  • Balance
  • Big-Data
  • Bing-Maps
  • Bitly
  • Blazor
  • Blogging
  • BlueSky
  • Burnout
  • C#
  • C# Advent
  • C-Advent
  • Calendar
  • Canvas-App
  • Career
  • Change
  • Charity
  • Chatgpt
  • Cincydeliver
  • Civility
  • Class-Libraries
  • Cleveland C#
  • Code Reviews
  • Code-With-Ania-Kubow
  • Codementor
  • Cognitive-Services
  • Collections
  • Communication
  • Community
  • Conferences
  • Connectors
  • Content
  • Conversion
  • Copilot
  • Crm
  • Culture
  • Custom-Connector
  • Data-Types
  • Database
  • Datetime
  • Delay
  • Deployment
  • Deployment-Slots
  • Desktop
  • Development
  • Devops
  • Dotnet
  • Dotnetrocks
  • Dynamics
  • Ef-Core
  • ELT
  • Employment
  • Entity Framework
  • Equality
  • Error-Handling
  • Estimates
  • Ethics
  • ETL
  • Excel
  • Experience
  • Expressions
  • Extensions
  • Facebook
  • Facial-Recognition
  • Failure
  • Festive Tech
  • Festive-Tech-Calendar
  • Fired
  • Flow
  • Fluentmigrator
  • Forms
  • Function
  • Function Friday
  • Functions
  • Gatekeeping
  • GC 2.0
  • Giving
  • Gmail
  • Guidance-Counselor-2-0
  • Gulp
  • Hard-Drive
  • Hashtags
  • Hate
  • Hiring
  • HTTP
  • Hugo
  • Hybrid-Connector
  • Icymi
  • Ifttt
  • Iis
  • Image-Recognition
  • Images
  • Imposter-Syndrome
  • Inclusivity
  • Instagram
  • Interviewing
  • Javascript-Friends
  • Jira
  • Job-Search
  • Jobs
  • Json
  • Languages
  • Learning
  • Libraries
  • Life
  • Linkedin
  • Logging
  • Logic Apps
  • Love
  • Low-Code
  • Machine-Learning
  • Mastadon
  • Mentoring
  • Microsoft MVP
  • New-Job
  • Nodejs
  • Nosql
  • Nuget
  • Nz365guy
  • Object-Recognition
  • Ocr
  • OneDrive
  • Openai
  • Organizational-Skills
  • Outlook
  • Ownership
  • Ozcode
  • Pc
  • Podcasts
  • Pos
  • Power Automate
  • Power Automate Desktop
  • Power-Apps
  • Powershell
  • Privacy
  • Productivity
  • Racism
  • Razor
  • Recognition
  • Resharper
  • Responsibility
  • Retail
  • Rpa
  • Rss
  • Rss-Feed
  • Sass
  • Scheduled-Tasks
  • SciFiDevCon
  • Security
  • Security-Questions
  • Sentiment-Analysis
  • Service-Fabric
  • Sexism
  • Shorts
  • Slides
  • Smart Cherry
  • Smart-Home
  • Soft Skills
  • Sql
  • Ssl
  • Stackexchange
  • Stackoverflow
  • Startups
  • Stirtrek
  • Summit-Na
  • Surveillance
  • Task-Runner
  • Task-Runner-Explorer
  • Taylor-Desseyn
  • Teams
  • Tech
  • Templates
  • Text-Analytics
  • The-6-Figure-Developer
  • Time-Off
  • ToDo
  • Transition
  • Trello
  • Triggers
  • Troubleshooting
  • Try-Catch
  • Twitch
  • Twitter
  • Unplug
  • Uri
  • Video
  • Vision-Api
  • Vision-Service
  • Visual-Studio
  • Vsts
  • Web-Assembly
  • Website
  • Windows-10
  • Workflow
  • Xml
  • Xpath
  • YouTube
hero image
Function Friday - Formatting and Parsing Dates and Times

This week I’m looking at formatting and parsing date and time values in Power Automate. This can be a great pain when working with data in your functions for a straightforward reason: DateTime values come in many different formats. And different systems will require different formats for your DateTime values. And that’s before you even consider the pain of timezones. formatDateTime We’ll first look at formatting. The formatDateTime function takes a DateTime string and converts it into a different format. The pattern is as follows:

  • datetime
  • flow
  • function-friday
  • power-automate
Friday, August 19, 2022 | 4 minutes Read
hero image
Function Friday: Date and Time Addition

This time I’m going to start delving into the date and time functions of Power Automate. Date and time is one of the most painful parts of working with flows. The reason for that is that sometimes a DateTime value is a DateTime, sometimes it’s a number, and sometimes it’s a string. Usually it’s a string… mostly. And it’s hard to know which it is at any given moment. Then add to that plethora of different formats that a DateTime value might take to and from all the various external systems and you have another layer of complexity. And for yet one more level of complexity, we’ll add in the issue of timezones.

  • datetime
  • flow
  • function-friday
  • power-automate
Friday, August 12, 2022 | 3 minutes Read
hero image
Video - A Brief Introduction to Microsoft Power Automate

This week I’m presenting my first YouTube video: A Brief Introduction to Microsoft Power Automate. Give it a view. https://www.youtube.com/watch?v=2MNnKel_9V8&ab_channel=BarretCodes

  • flow
  • power-automate
Tuesday, August 9, 2022 | 1 minute Read
hero image
An Introduction to Microsoft Power Automate

An Introduction to Microsoft Power Automate

  • power automate
Friday, August 5, 2022 | 1 minute Read
hero image
Function Friday: Data Type Conversion Functions - Arrays, JSON and XML

This time we’re wrapping up the last of the data type conversion functions. We’ll cover the more complex data types: arrays, JSON, and XML. array The array function creates an array from a single input data element. The format is simple: array('<value>') And as an example: array('hello there') // returns ["hello there"] To be honest, there’s no reason to use the array function. The createArray function allows you to pass in multiple data elements and you get the same result.

  • flow
  • function-friday
  • power-automate
Friday, August 5, 2022 | 3 minutes Read
hero image
Function Friday: Binary, DataUri, UriComponent, and Base64 Conversion Functions

This time I’m going to delve into conversion functions for base64 and binary. Both are typically used to convert binary files such as images and zip files back and forth between formats that various connectors need in order to process them. It’s also sometimes used to generate hashes used for checksums, certificates, and encryption. base64 The base64 function is used to convert a string into a base64 encoded version of a string. The pattern is:

  • conversion
  • flow
  • function-friday
  • power-automate
Friday, July 29, 2022 | 3 minutes Read
hero image
Power Automate: Connectors from Independent Publishers

One of the most fantastic parts of Microsoft Power Automate is its ability to connect to a massive array of other systems to push and pull data. Early on this was restricted to those systems that Microsoft had created connections to or had worked with external vendors to develop connections to their systems. In recent years, however, they added the ability for people to create their own connectors to external systems and to share those connectors with the community at large. There are now a huge number of Microsoft-approved community-created connectors available for Power Automate. In this post, I want to highlight a few of my favorites.

  • connectors
  • flow
  • power-automate
Tuesday, July 26, 2022 | 5 minutes Read
hero image
Function Friday - Data Type Conversion Functions - Bool, Decimal, Float, Int, String

For this batch of functions, we’ll start delving into the data type conversion functions. For the first group let’s look at the base type conversions. They all work pretty much the same way. Bool The bool function is used to convert input data into boolean form (i.e. true or false). The format is pretty straightforward: bool(<value>) The value can be of number or string data types. The output depends on the data type of the input. Numbers all work the same way, whether it’s an int, float, or decimal. If the input number is 0, bool returns false. If the input number is any other value, positive or negative, and the result is true.

  • flow
  • function-friday
  • power-automate
Friday, July 8, 2022 | 3 minutes Read
hero image
Function Friday - Collection Functions: Contains, Item, Join

For the last group of collection functions, we’re taking a look at the functions that focus on the items in the collection itself. Contains The contains function details whether or not a collection contains a specific element. The result is a boolean value (true/false). The pattern is as follows: contains('collection', 'value') contains([collection], 'value') The exact way it works depends on what the collection is. If the collection is a string, the contains function works to find a substring of characters.

  • collections
  • flow
  • function-friday
  • power-automate
Friday, June 17, 2022 | 2 minutes Read
hero image
Function Friday - Collection Functions: Intersection, Union, Skip, Take

For the second batch of collection functions we’re taking a look at the functions that let you work with the collections themselves. These functions let you slice, dice, and merge one or more collections together. Intersection The intersection function compares two or more collections and returns a new array that contains only the elements that exist in all the passed in collections. The format is as follows: intersection(collection1, collection2, ...) As with all the functions, you can pass in collection variables or literals, and strings are treated as character arrays.

  • collections
  • flow
  • function-friday
  • power-automate
Friday, June 10, 2022 | 3 minutes Read
hero image
Function Friday - Collection Functions - First, Last, Empty, Length

Power Automate contains excellent support for working with collections of objects. Generally, these will be treated as arrays of objects. However, these functions will also work with strings as, in Power Automate, strings are also considered a collection, as they are essentially an array of characters. As such, Power Automate contains a good selection of functions for working with these collections. For my return to functions in Power Automate, we’ll take a look at the first group of collection functions: First, last, empty, and length.

  • collections
  • flow
  • function-friday
  • power-automate
Friday, June 3, 2022 | 3 minutes Read
hero image
Function Friday - More Math

I previously covered some of the base math functions available. This time I’ll cover the math functions that are related to working with arrays of numbers. This includes the max, min, rand, and range functions. max & min These two functions work the exact same way. The max function returns the largest number in an array of numbers, and the min function returns the smallest number in an array of numbers. The format is as follows:

  • flow
  • function-friday
  • power-automate
Friday, April 8, 2022 | 2 minutes Read
  • ««
  • «
  • 3
  • 4
  • 5
  • 6
  • 7
  • »
  • »»
Navigation
  • About
  • Engage With Me
  • Recent Posts
  • Posts
Contact me:
  • barretblake@live.com
  • barretb
  • Barret

Toha Theme Logo Toha
© 2024 Copyright Barret Blake.
Powered by Hugo Logo