web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / WARING: Dataverse Low ...
Power Apps
Answered

WARING: Dataverse Low code plugin fully breaks existing Power Automate Flow

(0) ShareShare
ReportReport
Posted on by 323 Super User 2024 Season 1

Hi All, i have a salels invoice table that is linked to a few power automate flow, the flow is used to roll up related record's value into sales invoices.

 

I then try to create a dataverse low code plugin using the new dataverse accelerator app, to do some business logic inside the sales invoice table. my code is like below.

 

If(
    ThisRecord.'Original Contract this Claim' <> 0.0 ||
    ThisRecord.'Variation this Claim' <> 0.0 ||
    ThisRecord.'Credit this Claim' <> 0.0 ||
    ThisRecord.'Deposit this Claim' <> 0.0 ||
    ThisRecord.'Trade Cost this Claim' <> 0.0 ||
    ThisRecord.'Management this Claim' <> 0.0
    ,
    Patch(
        'Sales Invoices',
        ThisRecord,
        {
            Amount:
            ThisRecord.'Original Contract this Claim' +
            ThisRecord.'Variation this Claim' +
            ThisRecord.'Credit this Claim' +
            ThisRecord.'Deposit this Claim' +
            ThisRecord.'Trade Cost this Claim' +
            ThisRecord.'Management this Claim'
        }
    )
)
 
All fields that involved in the low code plugin is inside the sales invoice table.
 
Now the issue is, once i created the low code plugin using dataverse accelerator app, plugin assemblies and plugin steps are created for my solution, then straight away all my cloud flow that will make an update to the sales invoice table will break. error will occur on action "update a row" that point towards the entity/table that has plugin registered. Error code shown like this:
 
{
  "error": {
    "code""0x80040224",
    "message""Object reference not set to an instance of an object.",
    "@Microsoft.PowerApps.CDS.TraceText""\r\n[Microsoft.PowerFx.PlexPlugins: Microsoft.PowerFx.Evaluator]\r\n[0276bf61-ef6f-ee11-9ae7-00224893b259: SalesInvoicePlugin]\r\n\r\n",
    "@Microsoft.PowerApps.CDS.InnerError.Message""Object reference not set to an instance of an object."
  }
}
 
Error on the power automate looks like this:
Stevieed_0-1697884237581.png

 

I have tried all possible solution, including remove the plugin to fix it, doesnt work, all flows is break permanently, even creating a new flow wont fix this issue.

 

I have to roll back the whole environment to fix this. This is a warning, this stuff is bloody dangerous! Never use it!!

 

I have the same question (0)
  • steeevid Profile Picture
    323 Super User 2024 Season 1 on at

    Update:

     

    I thought i can just roll back my production environment but nope, now I am fully stuck. My table is locked by low code plugin and all cloud flow that point towards it will break... urgently need help 😞

     

    After removing the plugin, the error become like this but still wont allow you to do any update to the table!

     

    {
      "error": {
        "code""0x80040217",
        "message""Entity 'fxexpression' With Id = 12fdbf5b-ef6f-ee11-9ae7-00224893b259 Does Not Exist",
        "@Microsoft.PowerApps.CDS.TraceText""\r\n[Microsoft.PowerFx.PlexPlugins: Microsoft.PowerFx.Evaluator]\r\n[0276bf61-ef6f-ee11-9ae7-00224893b259: SalesInvoicePlugin]\r\n\r\n",
        "@Microsoft.PowerApps.CDS.InnerError.Message""Entity 'fxexpression' With Id = 12fdbf5b-ef6f-ee11-9ae7-00224893b259 Does Not Exist"
      }
    }
     
    I have created a fresh new cloud flow that just try to do any update to that table, and it still wont work
     
    Stevieed_0-1697885437033.png

     

  • Verified answer
    steeevid Profile Picture
    323 Super User 2024 Season 1 on at

    Nevermind! 

     

    After removing Dataverse Accelerator App, the table is now unlocked and everything is fixed....this app is dangerous aye!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard