cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Issue in Grouping with Dynamics CRM data

Hi Guys,

 

I'm pulling data (Quotes) from D365 and trying to group a particular field (owner) using Union operation but I'm always getting NULL in Output.

Below is my expression,

union(variables('Unique_Names'),createArray(item()?['quotes']?['_ownerid_value']))
I'm note sure what I am missing here. Can you guys please help me out?
Attached screenshots for reference.
Thanks!
 
Screen 3.png
Thanks!
Screen 1.pngScreen 2.png
 
O/P:
Screen 3.png
 
 
 
2 REPLIES 2
Community Support
Community Support

Hi @Praveenpk365 ,

 

Please check the output of the expression createArray(item()?['quotes']?['_ownerid_value']),

also please share more details about your requirement and the full configuration of your flow so we would better understand your problem and provide a proper workaround for you.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for the response Alice!

 

Basically my requirement is to pull Quotes from Dynamics CRM and send an email to Owners, while sending I need to group the Owners so that I will consolidate the records and send one mail at a time to respective owner.

 

I have started with the implementation by grouping and got strucked.

 

@v-alzhan-msft  - As you mentioned, i've evaluated the expression seperatly without UNION operation, still getting null.

 

Response 1.pngResponse 2.png

 

Here is my full configuration,

 

Full Screen 1.pngFull Screen 2.png

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (24,667)