cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NickDewitt
Advocate II
Advocate II

Common Data Service Button - Cannot read property 'method' of undefined

I have just gone to create a new button flow for Dynamics 365 by clicking on 'Create a Flow' from the flow menu in Dynamics 365.

 

Instead of the old Dynamics Button, it has sent me to the "Common Data Service Button" + "Custom Action" template, when I get to there, there is no context for the entity that I wanted to create the Flow for, e.g. no Opportunity Id or any fields from the Opportunity Entity.

 

The Common Data Service button says "Using the default values for the parameters.". I can click the edit button next to it but nothing happens when I try to add a different input.

 

When I try to save the flow it says 'Cannot read property 'method' of undefined'.

 

I can't see any documentation available for how this trigger is supposed to be used, and I don't understand why the old working trigger has been deprecated and replaced with a useless one.

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
NickDewitt
Advocate II
Advocate II

This seems to have fixed itself, the context of the selected item is now available.

View solution in original post

3 REPLIES 3
v-yuazh-msft
Community Support
Community Support

Hi @NickDewitt,

 

Could you please share a screenshot of the configuration of your flow?

Could you please explain more details about the Common Data Service button?

 

Please share more details so we would try to provide a proper workaround for you.

 

Best regards,

Alice

Hi Alice,

 

When I am in Dynamics 365, I can click on the Flow menu to "create a flow"

 

image.png

 

 

 

 

 

 

 

 

That used to take me to "Dynamics 365 button" that had the context of the entity I pressed it from, now it takes me to a "Common Data Service" button that doesn't seem to have any options I can change:

image.png

 

So I click on "use this template", and I just try to add a simple test to send myself an email when it get's clicked, try to save it and it throws an error:

image.png

NickDewitt
Advocate II
Advocate II

This seems to have fixed itself, the context of the selected item is now available.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,177)