cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Super User
Super User

How to get JSON of the loop?

Hi!

I have part of flow which generates data to another flow. One of part is connected to O365 organisation structure. I'm interested how in most efficient way get this data. For now I was saving records on the list as a part of loop. Maybe It's possible to extract JSON of all elements of the loop? What is your idea? 

 

1st step insert email

2nd step insert direct reports from above.

3rd step save somewhere or get JSON element data from 2nd step.

 

 

json.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: How to get JSON of the loop?

Hi @KamilAdamczyk ,

 

You could initialize an array variable to store the JSON of the reports. When  :

Annotation 2020-04-13 100219.png

 

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

View solution in original post

2 REPLIES 2
Highlighted
Super User II
Super User II

Re: How to get JSON of the loop?

Hello @KamilAdamczyk 

What is the purpose of your flow walking the hierarchy of your organization? Do you just need to have all employees in a list or ??? 🙂

Kind regards, John

Highlighted
Community Support
Community Support

Re: How to get JSON of the loop?

Hi @KamilAdamczyk ,

 

You could initialize an array variable to store the JSON of the reports. When  :

Annotation 2020-04-13 100219.png

 

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

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

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

Top Solution Authors
Top Kudoed Authors
Users online (6,920)