The ask, create a Power Automate cloud flow to calculate exponentiation, a base value taken to the power of an exponent value. Ultimately, this flow will be one of many flows filling in where Microsoft hasn't yet provided an expression. For this ask, create a new cloud flow and choose "When Power Apps calls a … Continue reading Power Automate: Do While Loop | Calculate Power Of
Power Automate Expressions
Power Automate: SharePoint Online | Update Document Set Metadata
The ask, update the metadata of a document set using a Power Automate cloud flow. In this ask, the document sets are created when certain conditions are met in an external source system. Post-creation, that metadata is kept in sync, receiving updates as changes are made in the source system. So, creating the document set … Continue reading Power Automate: SharePoint Online | Update Document Set Metadata
Power Automate: Understanding | mod()
Modulus (or modulo) is another of the math expression available in Power Automate. Similar to the add(), sub(), mul(), and div() expressions, mod() accepts two parameters, but instead only returns whole numbers, so no decimals. Likely an over-simplified explanation, but in computing, modulo is essentially the calculated remainder of a division calculation. Figure 1 - … Continue reading Power Automate: Understanding | mod()
Power Automate: Generate Custom GUID(s)
Yes, there is a guid() expression available in Power Automate. The provided expression doesn't accept parameters though, so for some people, there isn't an easy way to control the GUID formatting. With that in mind, it might be worth creating your own GUID value: Figure 1 - Power Automate cloud flow logic. After the cloud … Continue reading Power Automate: Generate Custom GUID(s)
Power Automate: Lookup Table Arrays
As Power Automate cloud flows grow in complexity, makers often need to nest loops within loops. Nesting loops isn't bad, but nesting the same loop more than once is inefficient. An alternative approach, loop the content once without nesting it and build an array of objects, which creates a lookup table that can be referenced … Continue reading Power Automate: Lookup Table Arrays
Power Automate: Understanding | ticks()
For those new to working with Date and time values in computing, just note that they are measured and calculated using "the number of ticks that have elapsed since the beginning of the twenty-first century." Essentially dates and times are just large, whole numbers. And Power Automate has several available expressions to work with these … Continue reading Power Automate: Understanding | ticks()
Power Automate: Date Difference
There is a lot of power in automation. And as Microsoft works to empower citizen developers, they've introduced another Date and time function, dateDifference(). This expression accepts two date parameters and outputs a string value: Figure 1 - Power Automate Date and time expression. The expression's string result is a calculation measuring the number of … Continue reading Power Automate: Date Difference
Power Automate: Outlook Emails w/ Item Lists
There are hundreds of connectors available in Power Automate. Each connector represents a different service, and services can be daisy-chained together to create automations called "flows". Often though, flows need to send emails with listed items, reporting on the executed actions. The easiest way to accomplish this, store the items in an array variable, then … Continue reading Power Automate: Outlook Emails w/ Item Lists
Power Automate: Error Handling | Mitigation
Power Automate is a no-code (/ low-code) workflow automation solution. Because the service isn't "high-code", developers can't create flows with traditional try-catch-finally blocks for robust error handling. But flows could be designed with "error mitigation" in mind. Otherwise, these flows will fail without recovery. To mitigate some anticipated issues, makers can use Power Automate expressions … Continue reading Power Automate: Error Handling | Mitigation