cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AVTS
Post Partisan
Post Partisan

The JSON function cannot serialize tables / objects with a nested property called ‘NewGroup’ of type ‘Polymorphic’

Team i am tried my level best to correct the issue with several correction but could not trigger the button due to folowing error.

 

“The JSON function cannot serialize tables / objects with a nested property called ‘NewGroup’ of type ‘Polymorphic’”.

 

Requirement is to send the mail with csv attachement.

Note  : Flow is tested which is working fine with other buttons. And formula is working fine in Datatable display

 

 

Following my formula.

Test1.Run(User().Email,JSON(With({TheTable: Filter(Dailyinventory, DateDiff(createdon, Today(),Days) =0)},

AddColumns(AddColumns(GroupBy(TheTable,"crf99_sno","crf99_materialdesc", "crf99_materialno", "NewGroup"),
"Created On", Last(NewGroup).createdon,

"Qty",Sum(NewGroup,crf99_qty),
"Sapstock",LookUp(sapstock,material=crf99_materialno && plant="8934",unrestrictedStock)),
"Diff", Sapstock - Qty

))

 

Tried to add the  JSON format but no luck

Please assist with your suggestion.

 

 

 

1 REPLY 1
AVTS
Post Partisan
Post Partisan

Friends need your guidance to overcome this error.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (2,577)