Power Automate - Keep It Simple, Stupid
Image Source: Shutterstock.com
Power Automate
Sep 4, 2023 6:03 AM

Power Automate - Keep It Simple, Stupid

by HubSite 365 about David Wyatt [MVP]

Senior Staff Engineer - Intelligent Automation Developer

Citizen DeveloperPower AutomateLearning Selection

KISS, an acronym for "Keep it simple, stupid!", is a design principle first noted by the U.S. Navy in 1960 Speak to a senior ProCode developer

Microsoft Power Automate embodies the principle of 'Keep It Simple, Stupid' (KISS), a design principle first noted by the U.S. Navy in 1960. The necessity to keep the code simple is even more relevant in LowCode and particularly in Power Automate.

The key reasons advocating simplicity include:

  • Varying skills of developers, most of whom are self-taught;
  • The simplified tools which could cause complexity
  • Costs including limited API calls and premium licenses.

However, it could be challenging to define simple in coding with factors contradicting each other; for example, fewer expressions would mean more actions and vice versa. However, tailoring simplistic and efficient codes will evolve from practice and experience.

Take a hypothetical example automation project where the basic process involves gathering data via an MS form, selecting a Word Template based on the inputs, updating the template with the inputs, and finally, sending the template.

This process might initially sound simple but considering various factors, it could be pretty complex. Here is where you have to invoke 'simple logic' and 'dynamic' modelling based on your requirements, considering the trade-off between simplicity and efficiency.

The 'simple logic approach' is easy to follow, but the process's simplicity might add complications during the development and upgradation phase because of manual efforts, precision required, and potential room for errors.

However, a 'dynamic approach' is more sophisticated as it centrally maintains the templates and variables, optimizing the developer's time. This method is highly scalable and does not accrue added complexity while adding more templates.

In summary, simplicity does not always equate to 'quicker' or 'easier', and similarly, complexity doesn't always offer benefits. Developers should use a design review as a platform to identify the elementary needs, and the complexity can be built on top if necessary.

In essence, the thought process should be building a simple process while adhering to basic non-functional requirements like Naming convention, Environment Variables, Connection References, Exception Handling, etc., then enhance the process and ultimately future proof it.

The perfect coding approach chimes well with the saying 'balance in everything.'.

Addendum: Thoughts on complexity and simplicity in coding

Ultimately the choice between a simple and complex coding approach depends on the specifics of the project, the developer's expertise, and the intended outcome. It's crucial to remember that simplicity does not always equate to efficiency or effectiveness, and a more complex code can sometimes yield better results for specific tasks. However, maintaining a balance and understanding the consequences of both complexity and simplicity is crucial in effective coding. A pragmatic approach would always propel optimised results, devoid of unnecessary complications.

 

Read the full article Power Automate - Keep It Simple, Stupid

Learn about Power Automate - Keep It Simple, Stupid

The text discusses the importance of the KISS (Keep It Simple, Stupid) principle in the context of coding and developing using Power Automate, a Microsoft tool for automating workflows. The KISS principle, originating from the U.S. Navy in 1960, advocates for simplicity in design. The text suggests that this principle is not often applied when developing in LowCode or using Power Automate, although the author argues that it should be. Simplicity becomes important with the varied skill levels of developers, the simplified Power Automate tool set, and the potential costs associated with overcomplicating things. The text encourages readers to consider what simplicity might look like in their next flow.

 

More links on about Power Automate - Keep It Simple, Stupid

Power Automate - Keep It Simple, Stupid
1 hour ago — KISS, an acronym for "Keep it simple, stupid!", is a design principle first noted by the U.S. Navy... Tagged with powerautomate ...
Don't make me think. Just KISS! (Keep It Simple, Stupid)
May 30, 2021 — Fortunately, the answer is easy — use one of the most powerful best practices in programming called KISS — Keep It Simple, Stupid.
Simon Park 🔒✏️⚙️📞's Post
KISS - Keep it simple stupid! Why expensive software ... Power Automate ✓ Need a FREE, simple way to monitor tasks from emails, messages, phone calls?
Prevent unused Flows from being turned off
I found a new action possible trough the "basic" power automate, ... I believe this is currently the best option to address a stupid situation.
Best Stupid-simple Outlook meeting category automation!
Mar 16, 2022 — Best Stupid-simple Outlook meeting category automation! Jensk Microsoft Power Automate March 16, 2022 March 16, 2022 3 Minutes.
KISS principle : r/dotnet
May 5, 2023 — It is often referred to as the KISS principle, which stands for “Keep it simple, stupid”. The principle states that designs and/or systems ...
KISS method for bug reporting - Testlio
It's essential to keep bug reports as clean and easy to read as possible. At Testlio, we use the KISS method, commonly known as “Keep It Simple Stupid“.
446 Productivity through Focus. More needed than ever in ...
Jan 8, 2023 — Keep it simple, stupid, said Kelly Johnson to his engineers when they had to design a new jet ... Why is KISS important also for this channel?
KISS, SOLID, YAGNI And Other Fun Acronyms - Bits and Pieces
Nov 9, 2020 — KISS. I always liked this one, both for the word that forms and for what it means: Keep It Simple Stupid (or if you don' ...

Keywords

Microsoft consulting, Microsoft professional services, certified Microsoft specialist, Microsoft certified consultant, Microsoft solutions expert