How to Create the Automated Plugin in the Dataverse Environment?

Dataverse

Dataverse Accelerator is a new Experimental feature released by Microsoft to use the low-code plug-ins in the Dataverse environment. Low-code plug-ins are reusable, server-side synchronous business logic workflows that execute in real-time.

This article will explain the step-by-step process of integrating the Instant Plugin in Power Automate.

Prerequisites

  • Follow the articles below: Install the Dataverse Accelerator App and Create an Instant Plugin in your Dataverse Environment.

Install the Microsoft Dataverse Accelerator App

Follow the below steps after the Prerequisite.

Step 1. Click on New plugin under Automated plugins.

Overview

Or

Click on New plugin -> Automated plugins.

Automated plugin

Step 2. Click on the Solutions dropdown and choose the required solution to save the Automated plugins.

Save the automated plugin

Step 3. Provide the below details.

Field Name Comments
Name Provide some unique and meaningful name for your plugin
Table Choose the Table name for which you would like to trigger your plugin
Formula Write your Power Fx code here
When should this run Select Pre-operation or Post-operation

Provide details

Formula

If(
    IsBlank(ThisRecord.Description),
    Error({Kind:ErrorKind.Validation, Message: "Please enter the Case Description"})
);

Step 4. Click on Advanced options.

Click on advance

Step 5. Choose Pre-operation.

Choose pre operaton

Step 6. Click on Save.

Click on save

Automated Plugin saving is in progress.

Automated plugin saving

The plugin was successfully saved.

Plugin successfully

Step 7. Click on Plugins to see all the Plugins list.

Click on plugin

You can see the Instant plugins by default.

Instant plugin

Step 8. Click on Automated plugins.

Click on automated plugins

You can see the Automated Plugins list.

Automated plugin

Step 9. Select the required plugin and click on Edit Plugin, if you want to Edit the plugin.

Edit plugin

Step 10. Create a Case record without the Description, make some changes to the record, and Save it.

Automated plugin saving

An automated plugin has been triggered.

Business process

Note. As this is an experimental feature it might not work for all the scenarios. Do not use it for production.

You can go to the Solutions and find FxExpression to see the list of all Expressions written for the Low Code Plugins.

Expression

Hope you have followed all the steps and created the Automated plugin in the Dataverse Accelerator.

Please like and share your valuable feedback on this article and follow my blog for more interesting articles.


Similar Articles