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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Using OData action via Microsoft Flow doesn't recognize tables or extension fields in a new model?

(1) ShareShare
ReportReport
Posted on by 64

I currently have a really basic flow right now to call an OData action method in x++. This method is called correctly, but for some reason, when I walk through the code, a table I created to a model (also a new var model) and fields I've added to table extensions are not recognized. To test, I tried just looping through one of my custom tables as part of my first method that's called in the OData action, but the debugger doesn't recognize the table (i.e., doesn't go through the while loop). Anyone have suggestions on why this is happening? I've done a similar implementation, so I'm wondering if I'm missing something in my model? This var model has references to Application Suite, Application Platform, and Application Foundation. 

If I just run the method itself (without triggering it through Flow), the tables/extension fields are all recognized. This just seems to be happening when started through Flow for some reason. I'm also trying to trigger this through a custom entity (maybe I'm missing a config here?). I've tried building my model, syncing my database, and doing an iisreset, but haven't had luck getting this to work.

pastedimage1593643589875v1.png

OData action

pastedimage1593643854301v2.png

I have the same question (0)
  • Suggested answer
    Christoph Thaler Profile Picture
    5,442 on at

    Hi j999888777,

    I have an open support request at Microsoft as odata actions will not work in Power Automates. Also with D365 standard actions I receive errors.

    Please try to do the same with Logic Apps. In my case everything is working as expected without an error in Logic Apps. So you can find out if it is a problem in your modification or in Power Automate.

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi j99988877,

    What is it that you try to achieve with this flow?

    Would be great if you could elaborate on that.

    Many thanks,

    Ludwig

  • j999888777 Profile Picture
    64 on at

    I'm trying to get the contents of a table, and format its content in a format defined by an integrating system to a .txt file. I'm using Flow to execute this process through an OData action through a schedule

  • j999888777 Profile Picture
    64 on at

    Thanks - I run into the same issue through Logic Apps

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi,

    I see.

    Can you test the following:

    Create an electronic report that pumps out the data from the table you need to SharePoint.

    You can define an txt output format if you like and don't need any other conversion.

    Once the data are on SharePoint in the txt format you can use Flow and move the file to whatever destination you need.

    Best regards,

    Ludwig

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans