cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Praveenpk365
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
v-alzhan-msft
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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

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

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (89,824)