Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Type "EntityReference" is not supported for workflow-enabled unbound custom API / Type "Entity" is not supported for workflow-enabled custom API

(0) ShareShare
ReportReport
Posted on by 18,052

If you are creating a Custom API and if it is an unbound API to perform any common or global action, and if you selected “Yes” for (Enabled For Workflow), you will get the following errors when you try adding input (Custom API Request Parameter) or output (Custom API Response Property) parameters of type Entity Reference or Entity.

Exception Message: Type “EntityReference” is not supported for workflow-enabled unbound custom API

Exception Message: Type “Entity” is not supported for workflow-enabled custom API

When I got these errors, googled the error message and did not find any link that described the reason for the error but I finally found the doc page that details the limitations of Custom API enable for Workflow. Please see the screenshot from the doc page below

pastedimage1634130167591v1.png

https://docs.microsoft.com/en-us/powerapps/developer/data-platform/customapi-table-columns#enabled-for-workflow

As you can see from the screenshot, you can only use Entity Reference parameter in a bound Custom API when its Enabled for Workflow. And Entity, EntityCollection and String arrayparameters cannot be used in a Custom API enabled for Workflow, whether it is bound or unbound.

https://kokulan.blog/2021/10/13/type-entityreference-is-not-supported-for-workflow-enabled-unbound-custom-api-type-entity-is-not-supported-for-workflow-enabled-custom-api/

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans