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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

How to create a case with data entity and Power Automate?

(0) ShareShare
ReportReport
Posted on by 845

Hi,

I am working on developing a chatbot (Virtual Agents + Power Automate), as an option, will accept a product complaint from a customer.
In Power Automate to communicate with D365 need to use data entity.

Is there any standard data entity, which will allow me to do this?


I have already tried with CaseDetailEntity, but with no success. I also created a new entity with the source table CaseDetailBase. It is specific and I can't get a result either.
Would anyone have any advice?

I have the same question (0)
  • AnithaEswaran Profile Picture
    2,032 on at

    Hi,

    Can you tell me the form in FO which you are trying to import the data from Power Automate?

  • Martin Dráb Profile Picture
    239,029 Most Valuable Professional on at

    Can you please give more information about your problem than mere "I tried something but with no success"?

  • Shooowtek Profile Picture
    845 on at

    Hi,

    I created a new datentity with source table CaseDetailBase

    8176.png

    024682.png

    423588068.png

    Now I would like to create a new case. In D365, the following form is used.

    14607.png

    EDIT: I was able to create a new case using this additional datentity and Power Automate. But I have one problem, because even though I marked the CaseId field as not required, I have to enter it.... Which makes absolutely no sense.
    Can I somehow set autoincrement on CaseId?

    08443.png

  • Martin Dráb Profile Picture
    239,029 Most Valuable Professional on at

    That you make a field non-mandatory on entity doesn't mean that the table field stops being mandatory. The meaning is different - the value doesn't have to be provided from outside (e.g. by Power Automate), but then the entity itself must generate a value.

    If you want to get a value from a number sequence, you can utilize NumberSeqRecordFieldHandler::enableNumberSequenceControlForField(). Look at Generate number sequence values from REST services and OData, for example, to get more details.

  • AnithaEswaran Profile Picture
    2,032 on at

    That is because 'CaseId' is Mandatory in the table CaseDetailBase.

    In the init method of the entity, it is checking for number sequence. So you need to modify this method to add extra check if Caseid is passed as blank. 

    pastedimage1655201620674v1.png

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 461 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans