cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

I can't get the information from Dynamics

Hello,

 

I need to get a weekly report of new opportunities from Dynamics 365, but I am having some trouble getting it. My problem is that all fields are from Opportunity Entity but I need to filter the opportunities  by the field 'Country' which is in Account Entity. Here is what I did and what I am getting:

 

1.  After trigger the flow with the action Recurrence:

 

formatDateTime(addDays(utcNow(),-7),'yyyy-MM-dd')

formatDateTime(utcNow(),'yyyy-MM-dd')

Edición de un flujo  Power Automate - Google Chrome.jpg

 

2. 

Edición de un flujo  Power Automate - Google Chrome1.jpg

 

3. Here is what I am getting in the email:

Weekly Report Of New Opportunities - Mensaje (HTML).jpg

 

3 REPLIES 3
notj
Post Prodigy
Post Prodigy

Try a compose action on the returned items, so you can get an idea of the fields/data returned. That might help you target more specific fields in your html table.

v-bacao-msft
Community Support
Community Support

 

Hi @Anonymous ,

 

Do you want to add some field values from these two entities to the same table?

 

Is there any relationship between them? Please provide more details so that we can provide you with the right solution.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Jcook
Super User III
Super User III

Hello,
Those are the GUIDs for the lookups to the main entity.

My suggestion is to do a List records without a filter, this is so you can see what this returns. And than filter on the fields that you want.

Additionally you might need to use that GUID to do a get record and get the appropriate information.
—Josh
If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others

Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (34,814)