Intro:
As low-code platforms gain traction, the number of automation solutions built with these platforms is exponentially increasing. As custodians of the platform, it's crucial to ensure the quality of these solutions remains high. These automations are driving business efficiency by streamlining processes, but with a small Center of Excellence (CoE) team, it becomes challenging to review every Power Automate flow and provide valuable recommendations to citizen developers.
This is where automating the code review process comes into play. Thanks to AutoReview, the code review process for Power Automate has become super easy. Let's explore this tool in our toolkit, just like Inspector Gadget would!
Setup:
Setting up AutoReview for your Power Automate flows is as easy as saying "Go Go Gadget!" Here's how you can get started:
- Check Your DLP Policies: First, make sure that your Data Loss Prevention (DLP) policies don't block the AutoReview connector. This connector is available in the Microsoft connectors list, so a quick check will ensure smooth sailing.
- Express Your Interest: Head over to the AutoReview tool website and express your interest in using the tool. Just like Inspector Gadget would, reach out and request your API keys.
- Get Your API Keys: Once you've expressed your interest, you'll receive your API keys. It's that simple! With these keys in hand, you'll be ready to unlock the full potential of AutoReview.
Let's dive deeper into how AutoReview can transform your workflow, just like Inspector Gadget would tackle any mission!
Gadget in Action:
To set it up, I provide the name of a Power Automate flow within the environment and use FetchXML to query the Dataverse Process entity for flow information. The plugin then sends this metadata to the AutoReview tool. The tool processes the XML, works its magic, and generates an HTML report, which is then written into a Word document and added to SharePoint.
The Fetch xml grabs the workflowid, clientdata, catelgory and description with a filter on cloud flows and name that we provide as input to the review flow
<fetch>
<entity name='workflow'>
<attribute name='workflowid' />
<attribute name='name' />
<attribute name='clientdata' />
<attribute name='category' />
<attribute name='description' />
<filter type="and">
<condition attribute="category"
operator="eq"
value="5" />
<condition attribute="name"
operator="like"
value="@{triggerBody()['text']}" />
</filter>
</entity>
</fetch>
As a reviewer for low-code automation, ensuring the quality of Power Automate flows is crucial. With the increasing number of automation solutions, it's essential to have a tool that can efficiently handle code reviews. Enter AutoReview, the ultimate gadget in my toolkit! Here's how it helps me streamline the review process and improve the overall quality of our automations:
- Logical Errors: The Actions section lists all actions within the flow, allowing me to quickly identify logical errors by reviewing the sequence and conditions of actions. It's like having Inspector Gadget's keen eye for detail!
- Design Patterns: The Trigger and Actions sections ensure that the flow follows best practices for design and structure. This helps maintain consistency and efficiency, just like Gadget's trusty gadgets.
- Null Pointer Exceptions: The Variables section lists all variables and their usage, helping to identify potential issues with variable handling. It's like having Gadget's ability to spot problems before they become major issues.
- Code Standards: The Meta Data and Variables sections ensure that naming conventions and standards are followed. This promotes maintainability and readability, much like Gadget's organized approach to solving mysteries.
- Activity Lifecycle Mirroring: The tool highlights if any API actions have retry and pagination settings, helping to identify potential performance bottlenecks. It's like having Gadget's ability to foresee and prevent problems.
Closing Remarks:
With AutoReview, I can efficiently conduct more reviews and provide valuable feedback to citizen developers. By enabling this tool as a self-review resource, we can ensure that the quality of our automations is consistently high. Just like Inspector Gadget, AutoReview helps us tackle any challenge with ease and precision!
Author Of article : Bala Madhusoodhanan Read full article