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.
Solved! Go to Solution.
This seems to have fixed itself, the context of the selected item is now available.
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"
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:
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:
This seems to have fixed itself, the context of the selected item is now available.