cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ryantrip-smc
New Member

Searching within a JSON Custom Object to return the instance number

Hello,

 

I'm trying to parse through a JSON Custom Object to return a specific instance of a report based on the report's title for my project. 
I know I can solve this by creating a loop that checks each instance one by one, however I was hoping there was something more efficient. The only other 'hacky' solution I can come up with is to use the "Parse text" action on the raw JSON to eliminate everything prior to and after the section I want and then rebuild the remaining text back into a JSON Custom Object. Any ideas? Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
fraenK
Memorable Member
Memorable Member

If you don't like looping then better use cloud flows to do the filtering.

 

Within PAD you could also split, parse (regex) or get a subtext. 

View solution in original post

2 REPLIES 2
fraenK
Memorable Member
Memorable Member

If you don't like looping then better use cloud flows to do the filtering.

 

Within PAD you could also split, parse (regex) or get a subtext. 

I am currently limited to on-premise and this is more or less a proof-of-concept, but I ended up using "Parse text" and "Get subtext". It ain't pretty, but it works.

Helpful resources

Announcements
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 tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (2,283)